[pre-commit.ci] pre-commit autoupdate (#1189)
This commit is contained in:
parent
9719254054
commit
67e4ff273a
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue