Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Oct 3, 2023
1 parent 9719254 commit 67e4ff2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/attr/_make.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67e4ff2

Please sign in to comment.