Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 14, 2024
1 parent 2137895 commit 1978bc4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/flake8_json_reporter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ def test_multiple_files_no_violations(capsys, formatter):
assert stdout == expected


def test_single_file_single_violation(
capsys, formatter, violation
):
def test_single_file_single_violation(capsys, formatter, violation):
run(formatter, {"main.py": [violation]})
stdout, _ = capsys.readouterr()
expected = """\
Expand All @@ -109,9 +107,7 @@ def test_single_file_single_violation(
assert stdout == expected


def test_single_file_multiple_violations(
capsys, formatter, violation
):
def test_single_file_multiple_violations(capsys, formatter, violation):
run(formatter, {"main.py": [violation] * 3})
stdout, _ = capsys.readouterr()
expected = """\
Expand Down

0 comments on commit 1978bc4

Please sign in to comment.