Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

tests: Add flake8-return

Brendan Colesa2cf24cb2630
diff --git a/requirements_test.txt b/requirements_test.txt
index 9d52dbd3..9d2c5bec 100644
--- a/requirements_test.txt
+++ b/requirements_test.txt
@@ -7,4 +7,5 @@ responses==0.10.6
pytest-cov==2.8.1
pytest-flake8==1.0.6
flake8-bugbear==20.1.4
+flake8-return==1.1.2
pycodestyle==2.6.0
diff --git a/setup.cfg b/setup.cfg
index 62a328ab..751cba43 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,7 +2,7 @@
flake8-max-line-length = 120
max-complexity = 100
select = C,E,F,W,B,DUO,D
-ignore = E501 W503 B006 DUO130
+ignore = E501 W503 B006 DUO130 R
per-file-ignores =
spiderfoot/__init__.py:F401
sfcli.py:D