Skip to content

Commit c450271

Browse files
committed
Linting.
1 parent 3608277 commit c450271

File tree

2 files changed

+289
-315
lines changed

2 files changed

+289
-315
lines changed

domdf_python_tools/paths.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -982,9 +982,9 @@ def cleanup(self) -> None:
982982

983983
context: ContextManager
984984

985-
if sys.platform == "win32":
985+
if sys.platform == "win32": # pragma: no cover (!Windows)
986986
context = contextlib.suppress(PermissionError, NotADirectoryError)
987-
else:
987+
else: # pragma: no cover (Windows)
988988
context = nullcontext()
989989

990990
with context:

0 commit comments

Comments
 (0)