Skip to content

Commit 50470d6

Browse files
authored
chore: update mypy v1.19.1 → v1.20.0 (#4363)
## Summary - Update mypy pre-commit hook from v1.19.1 to v1.20.0 - Better type narrowing (substantial rework for more aggressive, consistent, and correct narrowing) - Python 3.14 t-string support (PEP 750) - Performance improvements (fixed-format binary cache and SQLite cache now default) - No new errors on this codebase ## Changes - `.pre-commit-config.yaml`: mirrors-mypy rev bump only ## Test plan - [x] `pre-commit run mypy --all-files` passes - [x] `pre-commit run --all-files` passes (all 15 hooks) - [x] `tox` passes (all 5 environments, 715 unit tests, 98.66% coverage) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated static analysis tool version in development environment configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: rnetser <rnetser@redhat.com>
1 parent c35b5c2 commit 50470d6

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
@@ -67,7 +67,7 @@ repos:
6767
- id: gitleaks
6868

6969
- repo: https://github.com/pre-commit/mirrors-mypy
70-
rev: v1.19.1
70+
rev: v1.20.0
7171
hooks:
7272
- id: mypy
7373
exclude: "test_(.*).py$"

0 commit comments

Comments
 (0)