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

Unified Diff: tox.ini

Issue 29569602: Noissue - Replace flake8-putty with flake8-per-file-ignores, update to flake8 3 (cms) (Closed)
Patch Set: Created Oct. 8, 2017, 6:09 p.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
@@ -3,13 +3,14 @@
skipsdist = true
[flake8]
-putty-ignore =
+per-file-ignores =
cms/bin/generate_static_pages.py : A107,A301,A302,E501
cms/bin/test_server.py : A101,A107,A302,E501,F401
cms/bin/translate.py : A107,A301,A302,E501,F821
cms/converters.py : A302, N802, A206
cms/sources.py : A104,A107,A108,A206,A302,E501
cms/utils.py : A107,A302,E501
+ runserver.spec : E501,F821
[testenv]
setenv =
@@ -24,13 +25,11 @@
pytest-cov
pytest-mock
wsgi_intercept
- # flake8-putty is not yet compatible with flake8 3.0
- flake8==2.*
- flake8-putty
+ flake8
+ flake8-per-file-ignores
pep8-naming
hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo
commands =
py.test --cov-report term --cov-report html --cov=cms tests
- flake8 cms tests runserver.py
- flake8 --ignore E501,F821,N802 runserver.spec
+ flake8 cms tests runserver.py runserver.spec
« 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