Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf36b82

Browse files
authored
Merge pull request#29269 from meeseeksmachine/auto-backport-of-pr-29267-on-v3.10.x
Backport PR#29267 on branch v3.10.x (Exclude pylab from mypy checks)
2 parents1af51a5 +0fbc882 commitcf36b82

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎ci/mypy-stubtest-allowlist.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Non-typed (and private) modules/functions
22
matplotlib\.backends\..*
33
matplotlib\.tests(\..*)?
4-
matplotlib\.pylab\..*
4+
matplotlib\.pylab(\..*)?
55
matplotlib\._.*
66
matplotlib\.rcsetup\._listify_validator
77
matplotlib\.rcsetup\._validate_linestyle

‎pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ enable_incomplete_feature = [
222222
]
223223
exclude = [
224224
#stubtest
225-
".*/matplotlib/(sphinxext|backends|testing/jpl_units)",
225+
".*/matplotlib/(sphinxext|backends|pylab|testing/jpl_units)",
226226
#mypy precommit
227227
"galleries/",
228228
"doc/",
@@ -234,7 +234,9 @@ exclude = [
234234
"lib/matplotlib/tests/",
235235
# tinypages is used for testing the sphinx ext,
236236
# stubtest will import and run, opening a figure if not excluded
237-
".*/tinypages"
237+
".*/tinypages",
238+
# pylab's numpy wildcard imports cause re-def failures since numpy 2.2
239+
"lib/matplotlib/pylab.py",
238240
]
239241
files = [
240242
"lib/matplotlib",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp