8000 Exclude pylab from mypy checks · matplotlib/matplotlib@181a5ea · GitHub
[go: up one dir, main page]

Skip to content

Commit 181a5ea

Browse files
committed
Exclude pylab from mypy checks
1 parent b358c98 commit 181a5ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 imports cause failures since numpy 2.2
239+
"lib/matplotlib/pylab.py"
238240
]
239241
files = [
240242
"lib/matplotlib",

0 commit comments

Comments
 (0)
0