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

Unified Diff: tox.ini

Issue 29345468: Issue 4045 - Add Test Suite To CMS (Closed)
Patch Set: rebase for flake8 explicit version in tox ini and removes unused tests Created Aug. 23, 2016, 3:40 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 | « tests/test_site/templates/empty.tmpl ('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
@@ -7,16 +7,25 @@
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 : A107,A108,A201,A206,A302,E501,E711,N802
cms/sources.py : A104,A107,A108,A206,A302,E501
cms/utils.py : A107,A302,E501
[testenv]
+setenv =
+ PYTHONPATH = {toxinidir}
+
deps =
- flake8
+ pytest
+ jinja2
+ markdown
+ # flake8-putty is not yet compatible with flake8 3.0
+ flake8==2.*
flake8-putty
pep8-naming
hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp
+
commands =
- flake8 cms runserver.py
+ py.test tests
+ flake8 cms tests runserver.py
flake8 --ignore E501,F821,N802 runserver.spec
« 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