Use tox for lint.

This commit is contained in:
Jakub Warmuz
2014-11-22 15:12:33 +01:00
parent 300a4f0b45
commit 1f844153fe
2 changed files with 4 additions and 4 deletions
-3
View File
@@ -26,9 +26,6 @@ conf layout.
#. Test code base: `./venv/bin/tox` #. Test code base: `./venv/bin/tox`
#. Check coding style for the whole project `./venv/bin/pylint letsencrypt`,
or specific module, e.g. `./venv/bin/pylint letsencrypt.client.acme`.
## Command line usage ## Command line usage
``` ```
+4 -1
View File
@@ -4,7 +4,7 @@
# and then run "tox" from this directory. # and then run "tox" from this directory.
[tox] [tox]
envlist = py26, py27 envlist = py26, py27, lint
[testenv] [testenv]
# install_command requires tox>=1.6 # install_command requires tox>=1.6
@@ -12,3 +12,6 @@ install_command = pip install --process-dependency-links {opts} {packages}
commands = nosetests commands = nosetests
deps = deps =
nose nose
[testenv:lint]
commands = pylint letsencrypt