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

Skip to content

Commit 87a2b9d

Browse files
authored
Merge pull request #25587 from ksunden/stubtest_fig_open
Ensure tinypages ignored by mypy/stubtest
2 parents a1357d4 + 7ed4313 commit 87a2b9d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,11 @@ convention = "numpy"
130130
"galleries/users_explain/text/text_props.py" = ["E501"]
131131

132132
[tool.mypy]
133-
exclude = [".*/matplotlib/(sphinxext|backends|testing)", ".*/mpl_toolkits"]
133+
exclude = [
134+
".*/matplotlib/(sphinxext|backends|testing)",
135+
".*/mpl_toolkits",
136+
# tinypages is used for testing the sphinx ext,
137+
# stubtest will import and run, opening a figure if not excluded
138+
".*/tinypages",
139+
]
134140
ignore_missing_imports = true

0 commit comments

Comments
 (0)