mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fixes for flake8 and rtd
This commit is contained in:
parent
23ab85e253
commit
784ecb94ea
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
--allow-all-external
|
||||||
|
--allow-unverified PIL
|
||||||
twisted
|
twisted
|
||||||
pyopenssl
|
pyopenssl
|
||||||
sphinxcontrib-napoleon
|
sphinxcontrib-napoleon
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -6,6 +6,7 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
builtins = _,__request__
|
builtins = _,__request__
|
||||||
|
ignore = E133
|
||||||
exclude = .tox,.git,dist,build
|
exclude = .tox,.git,dist,build
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
|
@ -92,7 +93,7 @@ whitelist_externals =
|
||||||
deps =
|
deps =
|
||||||
{[testenv:flake8]deps}
|
{[testenv:flake8]deps}
|
||||||
mccabe
|
mccabe
|
||||||
commands = flake8 --max-complexity --exit-zero 15 deluge
|
commands = flake8 --exit-zero --max-complexity 15 deluge
|
||||||
|
|
||||||
# We do not have all dependencies on RTD and travis so we exclude the
|
# We do not have all dependencies on RTD and travis so we exclude the
|
||||||
# site packages (sitepackages=False) when building docs so that local
|
# site packages (sitepackages=False) when building docs so that local
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue