aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-05-29 18:18:04 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-05-31 14:03:02 -0400
commitfb7f0437323ba836c68947d38f3604c3336e3a9b (patch)
tree756512a2b68f1c7270f028b487228fd0e3f13778 /tox.ini
parentdb498f217e03d772e0c0c37a526226d48ed790e2 (diff)
downloadexternal_python_mako-fb7f0437323ba836c68947d38f3604c3336e3a9b.tar.gz
external_python_mako-fb7f0437323ba836c68947d38f3604c3336e3a9b.tar.bz2
external_python_mako-fb7f0437323ba836c68947d38f3604c3336e3a9b.zip
Use tox / zimports
Change-Id: Ia047c7052a6d242c2cf1c7a83981f1e38ea4d928
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini18
1 files changed, 12 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 45d7f00..9be38dd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,9 +22,15 @@ setenv=
commands=py.test {env:COVERAGE:} {posargs}
-[flake8]
-
-show-source = True
-ignore = E711,E712,E721,D,N
-# F841,F811,F401
-exclude=.venv,.git,.tox,dist,doc,*egg,build
+# thanks to https://julien.danjou.info/the-best-flake8-extensions/
+[testenv:pep8]
+basepython = python3.7
+deps=
+ flake8
+ flake8-import-order
+ flake8-builtins
+ flake8-docstrings
+ flake8-rst-docstrings
+ # used by flake8-rst-docstrings
+ pygments
+commands = flake8 ./mako/ ./test/ setup.py --exclude test/templates,test/foo