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

Side by Side Diff: tox.ini

Issue 29569623: Noissue - Added flake8-docstrings (cms) (Closed)
Patch Set: Created Oct. 9, 2017, 1:30 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
« tests/test_translations.py ('K') | « tests/test_translations.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
Sebastian Noack 2017/10/09 01:59:12 D1 is for missing docstrings. I think enforcing do
6 per-file-ignores = 7 per-file-ignores =
7 cms/bin/generate_static_pages.py : A107,A301,A302,E501 8 cms/bin/generate_static_pages.py : A107,A301,A302,E501
8 cms/bin/test_server.py : A101,A107,A302,E501,F401 9 cms/bin/test_server.py : A101,A107,A302,E501,F401
9 cms/bin/translate.py : A107,A301,A302,E501,F821 10 cms/bin/translate.py : A107,A301,A302,E501,F821
10 cms/converters.py : A302, N802, A206 11 cms/converters.py : A206,A302,D400,N802
11 cms/sources.py : A104,A107,A108,A206,A302,E501 12 cms/sources.py : A104,A107,A108,A206,A302,E501
12 cms/utils.py : A107,A302,E501 13 cms/utils.py : A107,A302,E501
13 runserver.spec : E501,F821 14 runserver.spec : E501,F821
15 tests/test_additional_paths.py : D401
14 16
15 [testenv] 17 [testenv]
16 setenv = 18 setenv =
17 PYTHONPATH = {toxinidir} 19 PYTHONPATH = {toxinidir}
18 20
19 deps = 21 deps =
20 flask 22 flask
21 jinja2 23 jinja2
22 urllib3 24 urllib3
23 markdown 25 markdown
24 pytest 26 pytest
25 pytest-cov 27 pytest-cov
26 pytest-mock 28 pytest-mock
27 wsgi_intercept 29 wsgi_intercept
28 flake8 30 flake8
29 flake8-per-file-ignores 31 flake8-per-file-ignores
32 flake8-docstrings
30 pep8-naming 33 pep8-naming
31 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo 34 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo
32 35
33 commands = 36 commands =
34 py.test --cov-report term --cov-report html --cov=cms tests 37 py.test --cov-report term --cov-report html --cov=cms tests
35 flake8 cms tests runserver.py runserver.spec 38 flake8 cms tests runserver.py runserver.spec
OLDNEW
« tests/test_translations.py ('K') | « tests/test_translations.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld