File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 57
57
- PYPARSING=pyparsing
58
58
- PYTEST='pytest>=3.4'
59
59
- PYTEST_COV=pytest-cov
60
- - PYTEST_PEP8 =
60
+ - PYTEST_FLAKE8 =
61
61
- SPHINX=sphinx
62
62
# Variables controlling the test run.
63
63
- DELETE_FONT_CACHE=
64
64
- NO_AT_BRIDGE=1 # Necessary for GTK3 interactive test.
65
65
- NPROC=2
66
66
- OPENBLAS_NUM_THREADS=1
67
67
- PYTHONFAULTHANDLER=1
68
+ - RUN_FLAKE8=
68
69
- PYTEST_ARGS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
69
70
- PYTHON_ARGS=
70
- - RUN_PEP8=
71
71
72
72
matrix :
73
73
include :
@@ -86,7 +86,7 @@ matrix:
86
86
- python : 3.5
87
87
env : PYTHON_ARGS=-OO
88
88
- python : 3.6
89
- env : DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_PEP8 =pytest-pep8 RUN_PEP8 =--pep8
89
+ env : DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_FLAKE8 =pytest-flake8 RUN_FLAKE8 =--flake8
90
90
- python : " nightly"
91
91
env : PRE=--pre
92
92
- os : osx
@@ -171,7 +171,7 @@ install:
171
171
$PYTEST \
172
172
$PYTEST_COV \
173
173
pytest-faulthandler \
174
- $PYTEST_PEP8 \
174
+ $PYTEST_FLAKE8 \
175
175
pytest-rerunfailures \
176
176
pytest-timeout \
177
177
pytest-xdist
Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ markers =
7
7
network: Mark a test that uses the network.
8
8
style: Set alternate Matplotlib style temporarily.
9
9
10
- pep8ignore =
11
- * E111 E114 E115 E116 E121 E122 E123 E124 E125 E126 E127 E128 E129 E131 E226 E240 E241 E242 E243 E244 E245 E246 E247 E248 E249 E265 E266 E704 W503
10
+ flake8-max-line-length = 80
11
+ flake8-ignore =
12
+ *.py E114 E116 E122 E127 E128 E129 E131 E202 E203 E225 E261 E265 E305 E722 E741 F401 F403 F811 F841
12
13
13
14
tools/boilerplate.py E501
14
15
setup.py E402
You can’t perform that action at this time.
0 commit comments