File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 60
60
# still supported; this is tested by the first matrix entry.
61
61
- PYTEST='pytest>=3.6'
62
62
- PYTEST_COV=pytest-cov
63
- - PYTEST_PEP8 =
63
+ - PYTEST_FLAKE8 =
64
64
- PYTEST_TIMEOUT=pytest-timeout
65
65
- SPHINX=sphinx
66
66
# Variables controlling the build.
75
75
- OPENBLAS_NUM_THREADS=1
76
76
- PYTHONFAULTHANDLER=1
77
77
- PYTEST_ADDOPTS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
78
- - RUN_PEP8 =
78
+ - RUN_FLAKE8 =
79
79
80
80
matrix :
81
81
include :
@@ -100,8 +100,8 @@ matrix:
100
100
- DELETE_FONT_CACHE=1
101
101
- PANDAS='pandas<0.21.0'
102
102
- JUPYTER='jupyter'
103
- - PYTEST_PEP8 =pytest-pep8
104
- - PYTEST_ADDOPTS="$PYTEST_ADDOPTS --pep8 "
103
+ - PYTEST_FLAKE8 =pytest-flake8
104
+ - PYTEST_ADDOPTS="$PYTEST_ADDOPTS --flake8 "
105
105
- python : " nightly"
106
106
env : PRE=--pre
107
107
- os : osx
@@ -182,7 +182,7 @@ install:
182
182
$PYTEST \
183
183
$PYTEST_COV \
184
184
pytest-faulthandler \
185
- $PYTEST_PEP8 \
185
+ $PYTEST_FLAKE8 \
186
186
pytest-rerunfailures \
187
187
$PYTEST_TIMEOUT \
188
188
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
+ * 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 E305 E306 E704 E722 E741 F401 F403 F811 F841 W503
12
13
13
14
setup.py E402
14
15
setupext.py E301 E302 E501
You can’t perform that action at this time.
0 commit comments