Skip to content

Commit 1978bc4

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

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/flake8_json_reporter_test.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ def test_multiple_files_no_violations(capsys, formatter):
8787
assert stdout == expected
8888

8989

90-
def test_single_file_single_violation(
91-
capsys, formatter, violation
92-
):
90+
def test_single_file_single_violation(capsys, formatter, violation):
9391
run(formatter, {"main.py": [violation]})
9492
stdout, _ = capsys.readouterr()
9593
expected = """\
@@ -109,9 +107,7 @@ def test_single_file_single_violation(
109107
assert stdout == expected
110108

111109

112-
def test_single_file_multiple_violations(
113-
capsys, formatter, violation
114-
):
110+
def test_single_file_multiple_violations(capsys, formatter, violation):
115111
run(formatter, {"main.py": [violation] * 3})
116112
stdout, _ = capsys.readouterr()
117113
expected = """\

0 commit comments

Comments
 (0)