Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62cc501

Browse files
committed
Exclude pylab from mypy checks
1 parent b358c98 commit 62cc501

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)