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 |