Skip to content

Commit 9fc20c6

Browse files
[pre-commit.ci] pre-commit autoupdate (#1028)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.4...v0.15.9) - [github.com/python-jsonschema/check-jsonschema: 0.37.0 → 0.37.1](python-jsonschema/check-jsonschema@0.37.0...0.37.1) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.0](pre-commit/mirrors-mypy@v1.19.1...v1.20.0) - [github.com/astral-sh/uv-pre-commit: 0.10.9 → 0.11.3](astral-sh/uv-pre-commit@0.10.9...0.11.3) * fix typing --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Loria <git@stevenloria.com>
1 parent 4883a48 commit 9fc20c6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ ci:
22
autoupdate_schedule: monthly
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.15.4
5+
rev: v0.15.9
66
hooks:
77
- id: ruff
88
- id: ruff-format
99
- repo: https://github.com/python-jsonschema/check-jsonschema
10-
rev: 0.37.0
10+
rev: 0.37.1
1111
hooks:
1212
- id: check-github-workflows
1313
- id: check-readthedocs
@@ -17,11 +17,11 @@ repos:
1717
- id: blacken-docs
1818
additional_dependencies: [black==24.10.0]
1919
- repo: https://github.com/pre-commit/mirrors-mypy
20-
rev: v1.19.1
20+
rev: v1.20.0
2121
hooks:
2222
- id: mypy
2323
additional_dependencies: ["marshmallow>=3.24.1,<5", "types-PyYAML"]
2424
- repo: https://github.com/astral-sh/uv-pre-commit
25-
rev: 0.10.9
25+
rev: 0.11.3
2626
hooks:
2727
- id: uv-lock

src/apispec/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def _process_links(
698698
operation_id = (
699699
self._paths.get(route, {}).get(method.lower(), {}).get("operationId")
700700
)
701-
link_obj = (
701+
link_obj: dict[str, typing.Any] = (
702702
{"operationId": operation_id}
703703
if operation_id
704704
else {

0 commit comments

Comments
 (0)