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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cms/converters.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [tox] 1 [tox]
2 envlist = py27 2 envlist = py27
3 skipsdist = true 3 skipsdist = true
4 4
5 [flake8] 5 [flake8]
6 ignore = D1,C815,W503 6 ignore = D1,C815,W503
7 per-file-ignores = 7 per-file-ignores =
8 /cms/bin/generate_static_pages.py : A107,A301,A302,E501 8 cms/bin/generate_static_pages.py : A107,A301,A302,E501
9 /cms/bin/translate.py : A107,A301,A302,E501,F821 9 cms/bin/translate.py : A107,A301,A302,E501,F821
10 /cms/converters.py : A206,A302,D400,N802 10 cms/converters.py : A206,A302,D400,N802
11 /cms/sources.py : A104,A107,A108,A206,A302,E501 11 cms/sources.py : A104,A107,A108,A206,A302,E501
12 /cms/utils.py : A107,A302,E501 12 cms/utils.py : A107,A302,E501
13 /runserver.spec : E501,F821 13 runserver.spec : E501,F821
14 /tests/test_additional_paths.py : D401 14 tests/test_additional_paths.py : D401
15 15
16 [testenv] 16 [testenv]
17 setenv = 17 setenv =
18 PYTHONPATH = {toxinidir} 18 PYTHONPATH = {toxinidir}
19 deps = 19 deps =
20 flask 20 flask
21 jinja2 21 jinja2
22 urllib3 22 urllib3
23 markdown 23 markdown
24 pytest 24 pytest
25 pytest-cov 25 pytest-cov
26 mock 26 mock
27 wsgi_intercept 27 wsgi_intercept
28 flake8 28 flake8>=3.7.0
29 flake8-per-file-ignores>=0.4
30 flake8-docstrings 29 flake8-docstrings
31 flake8-commas 30 flake8-commas
32 pep8-naming 31 pep8-naming<=0.7.0
33 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo 32 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo
34 requests 33 requests
35 pytest-console-scripts 34 pytest-console-scripts
36 pytest-mock 35 pytest-mock
37 36
38 commands = 37 commands =
39 py.test --cov-report term --cov-report html --cov=cms tests 38 py.test --cov-report term --cov-report html --cov=cms tests
40 flake8 cms tests runserver.py runserver.spec 39 flake8 cms tests runserver.py runserver.spec
OLDNEW
« 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