Skip to content

Commit f11cc84

Browse files
committed
Require at least mypy 1.16.0
which seems to be more compatible with the `__match_args__` field used by dataclasses. Thus remove the unnecessary entry in `stubtest_allow.txt`. See https://mypy.readthedocs.io/en/stable/changelog.html#mypy-1-16
1 parent a501579 commit f11cc84

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dev = [
4545
test = [
4646
"pytest >=5.0.0",
4747
"pytest-cov >= 5.0.0",
48-
"mypy",
48+
"mypy>=1.16.0",
4949
"basedpyright",
5050
]
5151

stubtest_allow.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
docstub\._version\..*
2-
docstub\..*\.__match_args__$
32
docstub._cache.FuncSerializer.__type_params__

0 commit comments

Comments
 (0)