forked from keras-team/keras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
33 lines (29 loc) · 1.12 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Configuration of py.test
[pytest]
addopts=-v
-n 2
--durations=20
# Do not run tests in the build folder
norecursedirs= build
# PEP-8 The following are ignored:
# E501 line too long (82 > 79 characters)
# E402 module level import not at top of file - temporary measure to continue adding ros python packaged in sys.path
# E731 do not assign a lambda expression, use a def
# W503 line break occurred before a binary operator
pep8ignore=* E402 \
* E731 \
* W503 \
keras/backend/cntk_backend.py E501 \
keras/backend/common.py E501 \
keras/backend/tensorflow_backend.py E501 \
keras/backend/theano_backend.py E501 \
keras/datasets/boston_housing.py E501 \
keras/datasets/imdb.py E501 \
keras/datasets/reuters.py E501 \
keras/engine/network.py E501 \
keras/engine/saving.py E501 \
keras/engine/training.py E501 \
keras/engine/training_generator.py E501 \
tests/keras/backend/backend_test.py E501
# Enable line length testing with maximum line length of 85
pep8maxlinelength = 85