Upgrade mypy (#5071)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6c5dbe1..6981d5f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -39,7 +39,7 @@
exclude: ^src/blib2to3/
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.19.1
+ rev: v1.20.2
hooks:
- id: mypy
exclude: ^docs/conf.py$
diff --git a/pyproject.toml b/pyproject.toml
index ffa7c78..172f713 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -142,7 +142,7 @@
[tool.hatch.build.targets.wheel.hooks.mypyc]
enable-by-default = false
-dependencies = ["hatch-mypyc>=0.16.0", "mypy==1.19.1"]
+dependencies = ["hatch-mypyc>=0.16.0", "mypy==1.20.2"]
require-runtime-dependencies = true
exclude = [
# There's no good reason for blackd to be compiled.