From 784ecb94eaed418f804071bb57a0673e3cc54b9c Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 25 Sep 2014 22:58:00 +0100 Subject: [PATCH] Fixes for flake8 and rtd --- docs/rtd_requirements.txt | 2 ++ tox.ini | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/rtd_requirements.txt b/docs/rtd_requirements.txt index bd4ba236f..688c32bfc 100644 --- a/docs/rtd_requirements.txt +++ b/docs/rtd_requirements.txt @@ -1,3 +1,5 @@ +--allow-all-external +--allow-unverified PIL twisted pyopenssl sphinxcontrib-napoleon diff --git a/tox.ini b/tox.ini index ae77e101d..144cfdcef 100644 --- a/tox.ini +++ b/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