We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ba919 commit af12057Copy full SHA for af12057
pythonrepo/pythonrepo.py
@@ -35,7 +35,7 @@
35
raise baton from err
36
37
38
-from . import __version__ as __version__ # noqa
+from . import __version__
39
40
41
__prog__: str = str(__module__)
tests/context.py
@@ -461,7 +461,7 @@ def checkCovCommand(*args): # skipcq: PYL-W0102 - [] != [None]
461
"""
462
if sys.__name__ is None: # pragma: no branch
463
raise ImportError("[CWE-758] Failed to import system.") from None
464
- if not args or args[0] is None:
+ if not args or args[0] is None: # skipcq: PYL-R1720
465
# skipcq: TCV-002
466
raise ValueError("[CWE-1286] args must be an array of positional arguments") from None
467
else:
0 commit comments