Skip to content

Commit 1f18ffa

Browse files
committed
⬆️ raise mypy upper bound to 1.18.2
1 parent ef4ac69 commit 1f18ffa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
# Run the formatter.
2424
- id: ruff-format
2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: v1.17.1
26+
rev: v1.18.2
2727
hooks:
2828
- id: mypy
2929
args: [ --check-untyped-defs ]

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
### Changed
88
- Bound `setuptools` to a specific constraint `setuptools>=68,<=81`.
9+
- Raised upper bound of mypyc for the optional pre-built extension to v1.18.2
910

1011
### Removed
1112
- `setuptools-scm` as a build dependency.

_mypyc_hook/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import build_meta as _orig # type: ignore[import-untyped]
77

88
USE_MYPYC = os.getenv("CHARSET_NORMALIZER_USE_MYPYC", "0") == "1"
9-
MYPYC_SPEC = "mypy>=1.4.1,<=1.17.1"
9+
MYPYC_SPEC = "mypy>=1.4.1,<=1.18.2"
1010

1111
# Expose all the PEP 517 hooks from setuptools
1212
get_requires_for_build_sdist = _orig.get_requires_for_build_sdist

0 commit comments

Comments
 (0)