Skip to content

Commit c51f838

Browse files
committed
Lint
1 parent fd52c97 commit c51f838

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

importcheck/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
def about(level: int = 1) -> None:
5151
"""
5252
Print information about ``importcheck``.
53+
54+
:param level:
5355
"""
5456

5557
if not level:

tests/test_cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525

2626
def fix_stdout(stdout: str) -> str:
2727
stdout = stdout.rstrip().replace(
28-
f"{platform.python_implementation()} v{platform.python_version()}", "FakePython v1.2.3"
28+
f"{platform.python_implementation()} v{platform.python_version()}",
29+
"FakePython v1.2.3",
2930
)
3031
stdout = stdout.replace(f"importcheck version {__version__}", "importcheck version 0.0.0")
3132
stdout = re.sub(r"python3.(\d+)", "python3.8", stdout)
@@ -39,7 +40,7 @@ def fix_stdout(stdout: str) -> str:
3940
pytest.param("Windows", marks=only_windows("Output differs on Windows")),
4041
pytest.param(
4142
"Linux",
42-
marks=[not_windows("Output differs on Linux"), not_macos("Output differs on Linux")]
43+
marks=[not_windows("Output differs on Linux"), not_macos("Output differs on Linux")],
4344
),
4445
pytest.param("Darwin", marks=only_macos("Output differs on macOS")),
4546
]

0 commit comments

Comments
 (0)