mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Use tox for lint.
This commit is contained in:
@@ -26,9 +26,6 @@ conf layout.
|
||||
|
||||
#. 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
|
||||
|
||||
```
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py26, py27
|
||||
envlist = py26, py27, lint
|
||||
|
||||
[testenv]
|
||||
# install_command requires tox>=1.6
|
||||
@@ -12,3 +12,6 @@ install_command = pip install --process-dependency-links {opts} {packages}
|
||||
commands = nosetests
|
||||
deps =
|
||||
nose
|
||||
|
||||
[testenv:lint]
|
||||
commands = pylint letsencrypt
|
||||
|
||||
Reference in New Issue
Block a user