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: Run flake8 on runserver.spec Created May 29, 2016, 10:15 a.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,23 @@
+[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
+ flake8 --ignore E501,F821,N802 runserver.spec
Sebastian Noack 2016/05/29 10:19:03 flake8-putty doesn't consider files with a name th
« no previous file with comments | « .hgignore ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld