Run flake8 from root to test docs and scripts
authorOleg Broytman <phd@phdru.name>
Sat, 24 Sep 2016 23:21:00 +0000 (02:21 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 24 Sep 2016 23:21:00 +0000 (02:21 +0300)
Exclude .tox virtual environments.

project_template/setup.cfg
project_template/tox.ini

index bb7cd94..5534ec0 100644 (file)
@@ -11,5 +11,5 @@ tag_date = 0
 tag_svn_revision = 0
 
 [flake8]
-exclude = .git,ez_setup.py,docs/conf.py
+exclude = .git,.tox,ez_setup.py,docs/conf.py
 
index 700cac6..af6fb31 100644 (file)
@@ -31,9 +31,9 @@ commands = {[general]commands}
 [testenv:py27-flake8]
 deps =
     flake8
-commands = flake8 {project} scripts tests
+commands = flake8
 
 [testenv:py34-flake8]
 deps =
     flake8
-commands = flake8 {project} scripts tests
+commands = flake8