From b4de543580dad922310c2175e795cba50f131f17 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: May 18 2017 12:51:41 +0000 Subject: Make flake8 mandatory for tox. This removes the ignore_errors option, which will cause tox to fail on failing flake8. The migrations (autogenerated) are ignored as well as the ``.tox/`` directory, which stops the tool from analyzing all of our depednencies in all of the virtualenvs. The test currently passes since #32 has been merged. --- diff --git a/tox.ini b/tox.ini index f2f9a8f..0868b04 100644 --- a/tox.ini +++ b/tox.ini @@ -27,8 +27,7 @@ commands = basepython = python3 skip_install = true deps = flake8 -commands = flake8 --ignore E501,E731 -ignore_outcome = True +commands = flake8 --ignore E501,E731 --exclude freshmaker/migrations/*,.tox/* [testenv:bandit] basepython = python3