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

Unified Diff: tox.ini

Issue 29345200: Noissue - Added flake8/tox configuration to the CMS (Closed)
Patch Set: Created May 28, 2016, 12:45 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 | « .hgignore ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tox.ini
===================================================================
new file mode 100644
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,22 @@
+[tox]
+envlist = py27
+skipsdist = true
+
+[flake8]
+putty-ignore =
+ cms/bin/generate_static_pages.py : A107,A110,A301,A302,A303,E501
+ cms/bin/test_server.py : A101,A107,A110,A302,A303,E501,F401
+ cms/bin/translate.py : A107,A110,A301,A302,A303,E501,F821
+ cms/converters.py : A107,A108,A110,A201,A206,A302,A303,E501,E711,N802
+ cms/sources.py : A104,A107,A108,A110,A206,A302,A303,E501
+ cms/utils.py : A107,A110,A302,A303,E501
+ runserver.py : A110
+
+[testenv]
+deps =
+ flake8
+ flake8-putty
+ pep8-naming
+ hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp
+commands =
+ flake8 cms runserver.py
« no previous file with comments | « .hgignore ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld