Skip to content

Commit fa5c3bf

Browse files
ci(pre-commit.ci): autoupdate (pyapp-kit#10)
* ci(pre-commit.ci): autoupdate updates: - [github.com/abravalheri/validate-pyproject: v0.14 → v0.15](abravalheri/validate-pyproject@v0.14...v0.15) - [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.4](astral-sh/ruff-pre-commit@v0.0.292...v0.1.4) - [github.com/psf/black: 23.9.1 → 23.10.1](psf/black@23.9.1...23.10.1) - [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.1](pre-commit/mirrors-mypy@v1.5.1...v1.6.1) * Fix type hinting error in _attrs.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Talley Lambert <[email protected]>
1 parent 843e6b9 commit fa5c3bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ ci:
55

66
repos:
77
- repo: https://github.com/abravalheri/validate-pyproject
8-
rev: v0.14
8+
rev: v0.15
99
hooks:
1010
- id: validate-pyproject
1111

1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.0.292
13+
rev: v0.1.4
1414
hooks:
1515
- id: ruff
1616
args: [--fix]
1717

1818
- repo: https://github.com/psf/black
19-
rev: 23.9.1
19+
rev: 23.10.1
2020
hooks:
2121
- id: black
2222

2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.5.1
24+
rev: v1.6.1
2525
hooks:
2626
- id: mypy
2727
files: "^src/"

src/fieldz/adapters/_attrs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def fields(class_or_instance: Any | type) -> tuple[Field, ...]:
6161
else type(class_or_instance)
6262
)
6363
fields: list[Field] = []
64-
for f in attrs.fields(cls):
64+
for f in attrs.fields(cls): # type: ignore [misc]
6565
f = cast(attrs.Attribute, f)
6666
default = Field.MISSING if f.default is attrs.NOTHING else f.default
6767
default_factory = Field.MISSING

0 commit comments

Comments
 (0)