Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tox.ini

Issue 29994576: Noissue - Use flake8's built-in per-file-ignores and work around pep8-naming bug (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Created Feb. 1, 2019, 12:12 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cms/converters.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tox.ini
===================================================================
--- a/tox.ini
+++ b/tox.ini
@@ -5,13 +5,13 @@
[flake8]
ignore = D1,C815,W503
per-file-ignores =
- /cms/bin/generate_static_pages.py : A107,A301,A302,E501
- /cms/bin/translate.py : A107,A301,A302,E501,F821
- /cms/converters.py : A206,A302,D400,N802
- /cms/sources.py : A104,A107,A108,A206,A302,E501
- /cms/utils.py : A107,A302,E501
- /runserver.spec : E501,F821
- /tests/test_additional_paths.py : D401
+ cms/bin/generate_static_pages.py : A107,A301,A302,E501
+ cms/bin/translate.py : A107,A301,A302,E501,F821
+ cms/converters.py : A206,A302,D400,N802
+ cms/sources.py : A104,A107,A108,A206,A302,E501
+ cms/utils.py : A107,A302,E501
+ runserver.spec : E501,F821
+ tests/test_additional_paths.py : D401
[testenv]
setenv =
@@ -25,11 +25,10 @@
pytest-cov
mock
wsgi_intercept
- flake8
- flake8-per-file-ignores>=0.4
+ flake8>=3.7.0
flake8-docstrings
flake8-commas
- pep8-naming
+ pep8-naming<=0.7.0
hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo
requests
pytest-console-scripts
« no previous file with comments | « cms/converters.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld