From dea2f6af05934978b2357b1e8c552c87ef2b0e88 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 25 Sep 2016 02:21:00 +0300 Subject: [PATCH] Run flake8 from root to test docs and scripts Exclude .tox virtual environments. --- project_template/setup.cfg | 2 +- project_template/tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2