Skip to content

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

Tests: Update requirements.txt (#1658)

bcolesc3e1cdb56e49
diff --git a/sflib.py b/sflib.py
index f11bd66c..96b786d7 100644
--- a/sflib.py
+++ b/sflib.py
@@ -873,7 +873,7 @@ class SpiderFoot:
return False
try:
- return bool(netaddr.IPNetwork(str(cidr)).size > 0)
+ return netaddr.IPNetwork(str(cidr)).size > 0
except BaseException:
return False
diff --git a/test/requirements.txt b/test/requirements.txt
index f1fcfd17..f7653a18 100644
--- a/test/requirements.txt
+++ b/test/requirements.txt
@@ -1,19 +1,19 @@
-r ../requirements.txt
-darglint==1.8.0
-dlint==0.11.0
-flake8==3.9.2
-flake8-annotations==2.6.2
-flake8-blind-except==0.2.0
-flake8-bugbear==21.9.2
+darglint==1.8.1
+dlint==0.12.0
+flake8==4.0.1
+flake8-annotations==2.9.0
+flake8-blind-except==0.2.1
+flake8-bugbear==22.4.25
flake8-builtins==1.5.3
-flake8-quotes==3.3.0
+flake8-quotes==3.3.1
flake8-return==1.1.3
flake8-sfs==0.0.3
-flake8-simplify==0.14.2
-pytest==6.2.5
+flake8-simplify==0.19.2
+pytest==7.1.2
pytest-cov==3.0.0
-pytest-flake8==1.0.7
-pytest-mock==3.6.1
-pytest-xdist==2.4.0
-pycodestyle==2.7.0
-responses==0.14.0
+pytest-flake8==1.1.1
+pytest-mock==3.7.0
+pytest-xdist==2.5.0
+pycodestyle==2.8.0
+responses==0.20.0