mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
Use tox for lint.
This commit is contained in:
@@ -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,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
|
||||||
|
|||||||
Reference in New Issue
Block a user