Refactor lint to remove duplicate
This commit is contained in:
parent
f2ec5bc57e
commit
8c5799a4d6
18
tox.ini
18
tox.ini
|
@ -23,24 +23,26 @@ commands = pytest -v -s -W all --cov pylast --cov-report term-missing {posargs}
|
|||
deps = ipdb
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:py2lint]
|
||||
[testenv:lint]
|
||||
deps =
|
||||
pycodestyle
|
||||
pyflakes
|
||||
clonedigger
|
||||
commands =
|
||||
pyflakes pylast
|
||||
pyflakes tests
|
||||
pycodestyle pylast
|
||||
pycodestyle tests
|
||||
|
||||
[testenv:py2lint]
|
||||
deps =
|
||||
{[testenv:lint]deps}
|
||||
clonedigger
|
||||
commands =
|
||||
{[testenv:lint]commands}
|
||||
./clonedigger.sh
|
||||
|
||||
[testenv:py3lint]
|
||||
deps =
|
||||
pycodestyle
|
||||
pyflakes
|
||||
{[testenv:lint]deps}
|
||||
commands =
|
||||
pyflakes pylast
|
||||
pyflakes tests
|
||||
pycodestyle pylast
|
||||
pycodestyle tests
|
||||
{[testenv:lint]commands}
|
||||
|
|
Loading…
Reference in a new issue