eric7/PipInterface/PipVulnerabilityChecker.py

branch
eric7
changeset 9001
a00cd6b55728
parent 8978
38c3ddf21537
child 9052
c06475635841
--- a/eric7/PipInterface/PipVulnerabilityChecker.py	Fri Mar 25 19:06:20 2022 +0100
+++ b/eric7/PipInterface/PipVulnerabilityChecker.py	Fri Mar 25 19:16:09 2022 +0100
@@ -28,6 +28,7 @@
 import Globals
 import Preferences
 
+
 @dataclass
 class Package:
     """
@@ -125,7 +126,7 @@
         @rtype dict
         """
         if os.path.exists(self.__cacheFile):
-            with open(self.__cacheFile, "r") as f:
+            with open(self.__cacheFile, "r") as f:  # __IGNORE_WARNING_Y117__
                 with contextlib.suppress(json.JSONDecodeError, OSError):
                     cachedData = json.load(f)
                     if (

eric ide

mercurial