Skip to content

Commit 7762013

Browse files
authored
Fix mypy compatibility with Python 3.14 (#300)
Update mypy from v0.900 (2021) to v1.18.2 (2025) to fix CI failures on Python 3.14. The old version fails with 'The typed_ast package is not installed' error because typed_ast is incompatible with Python 3.14. GitHub Actions recently started defaulting to Python 3.14 for the check workflow, causing intermittent CI failures. Tested with Docker python:3.14 image to confirm the fix works.
1 parent e8907c2 commit 7762013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: markdownlint
66

77
- repo: https://github.com/pre-commit/mirrors-mypy
8-
rev: v0.900
8+
rev: v1.18.2
99
hooks:
1010
- id: mypy
1111
additional_dependencies: ["httpx"]

0 commit comments

Comments
 (0)