mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
[Tests] Add pylint target to tox
This commit is contained in:
parent
c3247396f7
commit
2dea6ab5a5
1 changed files with 12 additions and 0 deletions
12
tox.ini
12
tox.ini
|
@ -116,6 +116,18 @@ deps =
|
||||||
commands = flake8 --exit-zero --max-complexity 15 deluge
|
commands = flake8 --exit-zero --max-complexity 15 deluge
|
||||||
|
|
||||||
|
|
||||||
|
[testenv:pylint]
|
||||||
|
# Force pylint pip install to avoid using system installed version
|
||||||
|
install_command = pip -v install --ignore-installed {opts} {packages}
|
||||||
|
setenv = {[testenv]setenv}
|
||||||
|
deps =
|
||||||
|
{[testenv]deps}
|
||||||
|
pylint
|
||||||
|
commands =
|
||||||
|
pylint --version
|
||||||
|
pylint deluge
|
||||||
|
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# Unit Test coverage
|
# Unit Test coverage
|
||||||
######################
|
######################
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue