# HG changeset patch # User Philippe Pepiot <philippe.pepiot@logilab.fr> # Date 1530888226 -7200 # Fri Jul 06 16:43:46 2018 +0200 # Node ID b3ecad34e9374310dd828971040908bcf4f2473d # Parent 3dd93a8c8f5708307ca3df4d38137f9b15db951a Add a tox configuration for running flake8 checks diff --git a/tox.ini b/tox.ini new file mode 100644 --- /dev/null +++ b/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = flake8 +skipsdist = true + +[testenv:flake8] +basepython = python2 +skip_install = true +deps = flake8 +commands = + {envpython} -m flake8 {toxinidir}/benchmarks {toxinidir}/*.py