summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-01-12 08:00:56 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-01-12 08:00:56 -0500
commite5b6d5af086583410298baba20c0e6bf87d53b5c (patch)
tree9d35f88deffc414dac90eeca84e2e870379525c6 /tox.ini
parent34c8cc69cada9fef4609d22c1b2fa6e28f365ea7 (diff)
downloadpython-coveragepy-e5b6d5af086583410298baba20c0e6bf87d53b5c.tar.gz
Run lint with tox. I wish it ran faster...
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 11 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ed41aca..2a83f6f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -69,3 +69,14 @@ commands =
sphinx-build -b html -b linkcheck -aEnQW doc doc/_build/html
sphinx-build -b html -aqE doc doc/_build/html
rst2html.py --strict README.rst doc/_build/trash
+
+[testenv:lint]
+deps = -rrequirements/dev.pip
+
+setenv =
+ LINTABLE = coverage tests igor.py setup.py __main__.py
+
+commands =
+ python -m pylint --notes= {env:LINTABLE}
+ python -m tabnanny {env:LINTABLE}
+ python igor.py check_eol