From: Oleg Broytman Date: Sat, 24 Sep 2016 23:19:07 +0000 (+0300) Subject: Run flake8 from root to test docs and scripts X-Git-Tag: 0.0.15~23 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=bbc3598c778f61a61409ebfc118dce6497b3188f;hp=6714c899a8a8bd5b2c1c707fa1ed22b265e1e1d7;p=m_librarian.git Run flake8 from root to test docs and scripts Exclude .tox virtual environments. --- diff --git a/setup.cfg b/setup.cfg index 7809b82..7f3e1df 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,5 +11,5 @@ tag_date = 0 tag_svn_revision = 0 [flake8] -exclude = .git,docs/conf.py,docs-ru/conf.py,ez_setup.py +exclude = .git,.tox,docs/conf.py,docs-ru/conf.py,ez_setup.py diff --git a/tox.ini b/tox.ini index ddd3c3a..57654e0 100644 --- a/tox.ini +++ b/tox.ini @@ -33,9 +33,9 @@ commands = {[general]commands} [testenv:py27-flake8] deps = flake8 -commands = flake8 m_librarian scripts test +commands = flake8 [testenv:py34-flake8] deps = flake8 -commands = flake8 m_librarian scripts test +commands = flake8