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 Nov 29, 2021
1 parent 724abf5 commit 8135de0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pylint/testutils/functional/lint_module_output_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ def __init__(
super().__init__(test_file, config)

def _check_output_text(
self, _: MessageCounter, expected_output: List[OutputLine], actual_output: List[OutputLine]
self,
_: MessageCounter,
expected_output: List[OutputLine],
actual_output: List[OutputLine],
) -> None:
"""Overwrite or remove the expected output file based on actual output."""
# Remove the file if no output is actually expected and a file exists
Expand Down

0 comments on commit 8135de0

Please sign in to comment.