Skip to content

Commit

Permalink
Merge pull request #1796 from PyCQA/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
sigmavirus24 committed Feb 7, 2023
2 parents 5516000 + b0d7912 commit 0610cd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
args: [--line-length=79]
Expand Down
4 changes: 2 additions & 2 deletions src/flake8/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _job_count(self) -> int:
def _handle_results(self, filename: str, results: Results) -> int:
style_guide = self.style_guide
reported_results_count = 0
for (error_code, line_number, column, text, physical_line) in results:
for error_code, line_number, column, text, physical_line in results:
reported_results_count += style_guide.handle_error(
code=error_code,
filename=filename,
Expand Down Expand Up @@ -423,7 +423,7 @@ def run_ast_checks(self) -> None:
runner = checker.run()
except AttributeError:
runner = checker
for (line_number, offset, text, _) in runner:
for line_number, offset, text, _ in runner:
self.report(
error_code=None,
line_number=line_number,
Expand Down

0 comments on commit 0610cd2

Please sign in to comment.