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
|
deps = ipdb
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:py2lint]
|
[testenv:lint]
|
||||||
deps =
|
deps =
|
||||||
pycodestyle
|
pycodestyle
|
||||||
pyflakes
|
pyflakes
|
||||||
clonedigger
|
|
||||||
commands =
|
commands =
|
||||||
pyflakes pylast
|
pyflakes pylast
|
||||||
pyflakes tests
|
pyflakes tests
|
||||||
pycodestyle pylast
|
pycodestyle pylast
|
||||||
pycodestyle tests
|
pycodestyle tests
|
||||||
|
|
||||||
|
[testenv:py2lint]
|
||||||
|
deps =
|
||||||
|
{[testenv:lint]deps}
|
||||||
|
clonedigger
|
||||||
|
commands =
|
||||||
|
{[testenv:lint]commands}
|
||||||
./clonedigger.sh
|
./clonedigger.sh
|
||||||
|
|
||||||
[testenv:py3lint]
|
[testenv:py3lint]
|
||||||
deps =
|
deps =
|
||||||
pycodestyle
|
{[testenv:lint]deps}
|
||||||
pyflakes
|
|
||||||
commands =
|
commands =
|
||||||
pyflakes pylast
|
{[testenv:lint]commands}
|
||||||
pyflakes tests
|
|
||||||
pycodestyle pylast
|
|
||||||
pycodestyle tests
|
|
||||||
|
|
Loading…
Reference in a new issue