Skip to content

Commit 48b1e87

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent dce9b52 commit 48b1e87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/lint/test_run_pylint.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
def test_run_pylint_with_invalid_argument(capsys: CaptureFixture[str]) -> None:
14-
"""Check that appropriate exit code is used with invalid argument"""
14+
"""Check that appropriate exit code is used with invalid argument."""
1515
with pytest.raises(SystemExit) as ex:
1616
run_pylint(["--never-use-this"])
1717
captured = capsys.readouterr()
@@ -23,7 +23,8 @@ def test_run_pylint_with_invalid_argument_in_config(
2323
capsys: CaptureFixture[str], tmp_path: Path
2424
) -> None:
2525
"""Check that appropriate exit code is used with an ambiguous
26-
argument in a config file"""
26+
argument in a config file.
27+
"""
2728
test_file = tmp_path / "testpylintrc"
2829
with open(test_file, "w", encoding="utf-8") as f:
2930
f.write("[MASTER]\nno=")

0 commit comments

Comments
 (0)