From: Oleg Broytman Date: Sat, 24 Sep 2016 23:21:00 +0000 (+0300) Subject: Run flake8 from root to test docs and scripts X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dea2f6af05934978b2357b1e8c552c87ef2b0e88;p=cookiecutter.git Run flake8 from root to test docs and scripts Exclude .tox virtual environments. --- diff --git a/project_template/setup.cfg b/project_template/setup.cfg index bb7cd94..5534ec0 100644 --- a/project_template/setup.cfg +++ b/project_template/setup.cfg @@ -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 diff --git a/project_template/tox.ini b/project_template/tox.ini index 700cac6..af6fb31 100644 --- a/project_template/tox.ini +++ b/project_template/tox.ini @@ -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