Skip to content

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

Flake8: Ignore I and D violations (#1327)

bcoles4bae59e18d5d
diff --git a/setup.cfg b/setup.cfg
index 74cb6097..88c71946 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,32 +3,29 @@ flake8-max-line-length = 120
max-complexity = 60
docstring-convention = google
ignore-decorators = property
-select = C,E,F,W,B,B9,D,DAR,DUO,R,A,S,Q0,SIM,SFS
-# Note: D and SIM tests should be reviewed and fixed instead of ignored
-ignore = E501 W503 B006 E800 B950 SFS301 SF01 Q000 SIM102 SIM113 SIM115 I D D100 D104 ANN
+select = C,E,F,W,B,B9,DAR,DUO,R,A,S,Q0,SIM,SFS
+# Note: ANN and SIM tests should be reviewed and fixed instead of ignored
+ignore = E501 W503 B006 E800 B950 SFS301 SF01 Q000 SIM102 SIM113 SIM115 I D ANN
# Note: most of these should be fixed instead of ignored
per-file-ignores =
- spiderfoot/event.py:A,D
- spiderfoot/plugin.py:D,B902
- spiderfoot/db.py:D,DAR,SFS101,B902
- spiderfoot/helpers.py:D
- spiderfoot/target.py:D
- spiderfoot/logger.py:D
- sf.py:I,D,DAR,SFS201,B902
- sflib.py:I,D,SFS101,SIM110,SIM111,B902
- sfwebui.py:A,B902,D212
- sfscan.py:I,D,SIM105,B902
- modules/*:D,B902
- modules/sfp_binaryedge.py:D,B902,C901
- modules/sfp__stor_stdout.py:D,SFS201
- modules/sfp_bitcoin.py:D,SFS101
- modules/sfp_reversewhois.py:D,R504
- modules/sfp_ripe.py:D,SIM110,B902
- modules/sfp_zetalytics.py:D,R504,B902
- spiderfoot/__init__.py:I,D,F401
- sfcli.py:D,DAR,B902
- test/*:I,D,SIM117,ANN
- docs/conf.py:A,D
+ spiderfoot/event.py:A
+ spiderfoot/plugin.py:B902
+ spiderfoot/db.py:SFS101,B902
+ sf.py:SFS201,B902
+ sflib.py:SFS101,SIM110,SIM111,B902
+ sfwebui.py:A,B902
+ sfscan.py:SIM105,B902
+ modules/*:B902
+ modules/sfp_binaryedge.py:B902,C901
+ modules/sfp__stor_stdout.py:SFS201
+ modules/sfp_bitcoin.py:SFS101
+ modules/sfp_reversewhois.py:R504
+ modules/sfp_ripe.py:SIM110,B902
+ modules/sfp_zetalytics.py:R504,B902
+ spiderfoot/__init__.py:F401
+ sfcli.py:DAR,B902
+ test/*:SIM117,ANN
+ docs/conf.py:A
[darglint]
docstring_style=google