mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +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
|
||||
pyopenssl
|
||||
sphinxcontrib-napoleon
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -6,6 +6,7 @@
|
|||
[flake8]
|
||||
max-line-length = 120
|
||||
builtins = _,__request__
|
||||
ignore = E133
|
||||
exclude = .tox,.git,dist,build
|
||||
|
||||
[tox]
|
||||
|
@ -92,7 +93,7 @@ whitelist_externals =
|
|||
deps =
|
||||
{[testenv:flake8]deps}
|
||||
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
|
||||
# site packages (sitepackages=False) when building docs so that local
|
||||
|
|
Loading…
Add table
Reference in a new issue