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 bb7cd948cf94e127c3893a6d3858d66389b6a8f0..5534ec0f2fe92633584f1b7caf13fe726c526017 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 700cac6b8afed833bf9600eaeb013aa944e4fb33..af6fb31524347c0db23a484b47e1d908e1501bcb 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