[pre-commit.ci] pre-commit autoupdate (#1189)

This commit is contained in:
pre-commit-ci[bot] 2023-10-03 09:08:44 +02:00 committed by GitHub
parent 9719254054
commit 67e4ff273a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -4,12 +4,12 @@ ci:
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.0.292
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

View File

@ -495,7 +495,7 @@ def _transform_attrs(
anns = _get_annotations(cls)
if these is not None:
ca_list = [(name, ca) for name, ca in these.items()]
ca_list = list(these.items())
elif auto_attribs is True:
ca_names = {
name