Merge pull request #1796 from PyCQA/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Ian Stapleton Cordasco 2023-02-07 01:51:33 -06:00 committed by GitHub
commit 0610cd2db8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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]

View file

@ -160,7 +160,7 @@ class Manager:
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,
@ -423,7 +423,7 @@ class FileChecker:
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,