Skip to content

Commit af12057

Browse files
[STYLE] Suppressed some minor noisy linter alerts.
1 parent 16ba919 commit af12057

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pythonrepo/pythonrepo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
raise baton from err
3636

3737

38-
from . import __version__ as __version__ # noqa
38+
from . import __version__
3939

4040

4141
__prog__: str = str(__module__)

tests/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def checkCovCommand(*args): # skipcq: PYL-W0102 - [] != [None]
461461
"""
462462
if sys.__name__ is None: # pragma: no branch
463463
raise ImportError("[CWE-758] Failed to import system.") from None
464-
if not args or args[0] is None:
464+
if not args or args[0] is None: # skipcq: PYL-R1720
465465
# skipcq: TCV-002
466466
raise ValueError("[CWE-1286] args must be an array of positional arguments") from None
467467
else:

0 commit comments

Comments
 (0)