diff -r 6889b666ddef -r d6921563be6c src/eric7/Preferences/__init__.py --- a/src/eric7/Preferences/__init__.py Mon Sep 11 17:58:47 2023 +0200 +++ b/src/eric7/Preferences/__init__.py Tue Sep 12 16:59:22 2023 +0200 @@ -1583,6 +1583,7 @@ "https://raw.githubusercontent.com/pyupio/safety-db/master/data/" ), "VulnerabilityDbCacheValidity": 60 * 60 * 6, # 6 hours + "VulnerabilityCheckEnabled": True, } # defaults for MicroPython @@ -3801,7 +3802,7 @@ @param key the key of the value to get @return the requested pip value """ - if key in ("ExcludeCondaEnvironments",): + if key in ("ExcludeCondaEnvironments", "VulnerabilityCheckEnabled"): return toBool(Prefs.settings.value("Pip/" + key, Prefs.pipDefaults[key])) elif key in ("VulnerabilityDbCacheValidity",): return int(Prefs.settings.value("Pip/" + key, Prefs.pipDefaults[key]))