src/eric7/PipInterface/PipVulnerabilityChecker.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
--- a/src/eric7/PipInterface/PipVulnerabilityChecker.py	Mon Feb 24 15:11:18 2025 +0100
+++ b/src/eric7/PipInterface/PipVulnerabilityChecker.py	Mon Feb 24 15:43:49 2025 +0100
@@ -127,7 +127,7 @@
         @rtype dict
         """
         if os.path.exists(self.__cacheFile):
-            with open(self.__cacheFile, "r") as f:  # noqa: Y117
+            with open(self.__cacheFile, "r") as f:  # noqa: Y-117
                 with contextlib.suppress(json.JSONDecodeError, OSError):
                     cachedData = json.load(f)
                     if dbName in cachedData and "cachedAt" in cachedData[dbName]:

eric ide

mercurial