Skip to content

Commit f54f347

Browse files
authored
Use released mypy (psf#4490)
1 parent 484a669 commit f54f347

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
exclude: ^src/blib2to3/
4040

4141
- repo: https://github.com/pre-commit/mirrors-mypy
42-
rev: v1.11.2
42+
rev: v1.12.0
4343
hooks:
4444
- id: mypy
4545
exclude: ^(docs/conf.py|scripts/generate_schema.py)$

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ macos-max-compat = true
125125
enable-by-default = false
126126
dependencies = [
127127
"hatch-mypyc>=0.16.0",
128-
"mypy @ git+https://github.com/python/mypy@bc8119150e49895f7a496ae7ae7362a2828e7e9e",
128+
"mypy>=1.12",
129129
"click>=8.1.7",
130130
]
131131
require-runtime-dependencies = true
@@ -192,7 +192,7 @@ build-frontend = { name = "build", args = ["--no-isolation"] }
192192
# Note we don't have a good test for this sed horror, so if you futz with it
193193
# make sure to test manually
194194
before-build = [
195-
"python -m pip install 'hatchling==1.20.0' hatch-vcs hatch-fancy-pypi-readme 'hatch-mypyc>=0.16.0' 'mypy @ git+https://github.com/python/mypy@bc8119150e49895f7a496ae7ae7362a2828e7e9e' 'click>=8.1.7'",
195+
"python -m pip install 'hatchling==1.20.0' hatch-vcs hatch-fancy-pypi-readme 'hatch-mypyc>=0.16.0' 'mypy>=1.12' 'click>=8.1.7'",
196196
"""sed -i '' -e "600,700s/'10_16'/os.environ['MACOSX_DEPLOYMENT_TARGET'].replace('.', '_')/" $(python -c 'import hatchling.builders.wheel as h; print(h.__file__)') """,
197197
]
198198

0 commit comments

Comments
 (0)