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

Side by Side Diff: tox.ini

Issue 29345468: Issue 4045 - Add Test Suite To CMS (Closed)
Patch Set: I moved the tests folder, now we wait on Vasiliy Created Aug. 21, 2016, 1:42 p.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 | « tests/test_site/templates/empty.tmpl ('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 putty-ignore = 6 putty-ignore =
7 cms/bin/generate_static_pages.py : A107,A301,A302,E501 7 cms/bin/generate_static_pages.py : A107,A301,A302,E501
8 cms/bin/test_server.py : A101,A107,A302,E501,F401 8 cms/bin/test_server.py : A101,A107,A302,E501,F401
9 cms/bin/translate.py : A107,A301,A302,E501,F821 9 cms/bin/translate.py : A107,A301,A302,E501,F821
10 cms/converters.py : A107,A108,A201,A206,A302,E501,E711,N802 10 cms/converters.py : A107,A108,A201,A206,A302,E501,E711,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 13
14 [testenv] 14 [testenv]
15 setenv =
16 PYTHONPATH = {toxinidir}
17
15 deps = 18 deps =
19 pytest
20 jinja2
21 markdown
16 flake8 22 flake8
17 flake8-putty 23 flake8-putty
18 pep8-naming 24 pep8-naming
19 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp 25 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp
26
20 commands = 27 commands =
28 py.test tests
21 flake8 cms runserver.py 29 flake8 cms runserver.py
Sebastian Noack 2016/08/21 14:33:09 Mind running flake8 also on the tests directory?
22 flake8 --ignore E501,F821,N802 runserver.spec 30 flake8 --ignore E501,F821,N802 runserver.spec
OLDNEW
« no previous file with comments | « tests/test_site/templates/empty.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld