Fixes for flake8 and rtd

This commit is contained in:
Calum Lind 2014-09-25 22:58:00 +01:00
parent 23ab85e253
commit 784ecb94ea
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,5 @@
--allow-all-external
--allow-unverified PIL
twisted
pyopenssl
sphinxcontrib-napoleon

View file

@ -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