make checkniceness an alias for linters in tox
The parent patch added a linters environment as an alias for checkniceness. This makes linters the "real" environment and checkniceness the alias. Change-Id: I9778abf3315e62f9db2a8d98dfb4bc5e9e2e869d Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
9433df553e
commit
adefde9826
11
tox.ini
11
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = checkniceness,checkbuild
|
||||
envlist = linters,checkbuild
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@ -23,15 +23,16 @@ commands =
|
||||
{toxinidir}/tools/build-all-rst.sh --linkcheck
|
||||
|
||||
[testenv:checkniceness]
|
||||
# Will be replaced by linters
|
||||
# Replaced in CI with "linters" environment but kept here as a
|
||||
# backwards-compatibility shim for muscle memory.
|
||||
commands = {[testenv:linters]commands}
|
||||
|
||||
[testenv:linters]
|
||||
commands =
|
||||
flake8
|
||||
doc8 doc
|
||||
{toxinidir}/tools/glossary-sort.sh
|
||||
|
||||
[testenv:linters]
|
||||
commands = {[testenv:checkniceness]commands}
|
||||
|
||||
[testenv:checkbuild]
|
||||
commands =
|
||||
{toxinidir}/tools/publishdocs.sh build
|
||||
|
Loading…
Reference in New Issue
Block a user