Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit241f11f

Browse files
author
cclauss
committed
Run flake8 instead of pep8 on Python 3.6
As discussed at#10938 (comment) _undefined names_ have [occurred often in the past](https://github.com/matplotlib/matplotlib/pulls?q=is%3Apr+author%3Acclauss+is%3Aclosed) and this change would help to avoid recurrence in the future.
1 parentd9b5b4e commit241f11f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ env:
6161
-OPENBLAS_NUM_THREADS=1
6262
-NPROC=2
6363
-RUN_PEP8=
64+
-RUN_FLAKE8=
6465
-PYTEST_ARGS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
6566
-PYTHON_ARGS=
6667
-DELETE_FONT_CACHE=
@@ -82,7 +83,7 @@ matrix:
8283
-python:3.5
8384
env:PYTHON_ARGS=-OO
8485
-python:3.6
85-
env:DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_PEP8=pytest-pep8 RUN_PEP8=--pep8
86+
env:DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_PEP8=pytest-flake8 RUN_FLAKE8=--flake8
8687
-python:"nightly"
8788
env:PRE=--pre
8889
-os:osx

‎pytest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ markers =
77
network: Mark a test that uses the network.
88
style: Set alternate Matplotlib style temporarily.
99

10+
flake8-ignore =
11+
*.py E114 E116 E122 E127 E128 E129 E131 E202 E203 E225 E261 E265 E305 E722 E741 F401 F403 F811 F841
12+
flake8-max-line-length = 127
13+
1014
pep8ignore =
1115
* 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
1216

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp