src/eric7/PipInterface/PipVulnerabilityChecker.py

branch
eric7
changeset 10180
3a595df36c9a
parent 9653
e67609152c5e
child 10373
093dcebe5ecb
--- a/src/eric7/PipInterface/PipVulnerabilityChecker.py	Thu Aug 31 15:00:53 2023 +0200
+++ b/src/eric7/PipInterface/PipVulnerabilityChecker.py	Thu Aug 31 18:10:28 2023 +0200
@@ -127,7 +127,7 @@
         @rtype dict
         """
         if os.path.exists(self.__cacheFile):
-            with open(self.__cacheFile, "r") as f:  # __IGNORE_WARNING_Y117__
+            with open(self.__cacheFile, "r") as f:  # noqa: Y117
                 with contextlib.suppress(json.JSONDecodeError, OSError):
                     cachedData = json.load(f)
                     if dbName in cachedData and "cachedAt" in cachedData[dbName]:

eric ide

mercurial