Skip to content

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

tests: Add darglint

Brendan Coles2bd6e8466231
diff --git a/requirements_test.txt b/requirements_test.txt
index 5440a56a..9d52dbd3 100644
--- a/requirements_test.txt
+++ b/requirements_test.txt
@@ -1,4 +1,5 @@
-r requirements.txt
+darglint==1.5.4
dlint==0.10.3
pytest==5.3.0
pytest-mock==1.12.0
diff --git a/setup.cfg b/setup.cfg
index c9e3bb16..6d83bcee 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,6 +2,9 @@
flake8-max-line-length = 120
max-complexity = 100
select = C,E,F,W,B,DUO
-ignore = E501 W503 B006 DUO130
+ignore = E501 W503 B006 DUO130 D
per-file-ignores =
- spiderfoot/__init__.py:F401
\ No newline at end of file
+ spiderfoot/__init__.py:F401
+
+[darglint]
+docstring_style=google