Skip to content

Commit 5b854bb

Browse files
authored
Merge pull request matplotlib#28542 from tacaswell/ci/unpin_mypy
CI: adjust pins in mypy GHA job
2 parents bcfecca + 49f3ad5 commit 5b854bb

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

ci/mypy-stubtest-allowlist.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ matplotlib.figure.Figure.set_constrained_layout
3535
matplotlib.figure.Figure.set_constrained_layout_pads
3636
matplotlib.figure.Figure.set_tight_layout
3737

38-
# positional-only argument name lacking leading underscores
39-
matplotlib.axes._base._AxesBase.axis
40-
4138
# Maybe should be abstractmethods, required for subclasses, stubs define once
4239
matplotlib.tri.*TriInterpolator.__call__
4340
matplotlib.tri.*TriInterpolator.gradient

lib/matplotlib/tests/meson.build

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ python_sources = [
22
'__init__.py',
33
'conftest.py',
44
'test_afm.py',
5-
'test_agg_filter.py',
65
'test_agg.py',
6+
'test_agg_filter.py',
77
'test_animation.py',
88
'test_api.py',
99
'test_arrow_patches.py',
@@ -13,20 +13,23 @@ python_sources = [
1313
'test_backend_bases.py',
1414
'test_backend_cairo.py',
1515
'test_backend_gtk3.py',
16+
'test_backend_inline.py',
1617
'test_backend_macosx.py',
1718
'test_backend_nbagg.py',
1819
'test_backend_pdf.py',
1920
'test_backend_pgf.py',
2021
'test_backend_ps.py',
2122
'test_backend_qt.py',
22-
'test_backends_interactive.py',
23+
'test_backend_registry.py',
2324
'test_backend_svg.py',
2425
'test_backend_template.py',
2526
'test_backend_tk.py',
2627
'test_backend_tools.py',
2728
'test_backend_webagg.py',
29+
'test_backends_interactive.py',
2830
'test_basic.py',
2931
'test_bbox_tight.py',
32+
'test_bezier.py',
3033
'test_category.py',
3134
'test_cbook.py',
3235
'test_collections.py',
@@ -43,8 +46,8 @@ python_sources = [
4346
'test_doc.py',
4447
'test_dviread.py',
4548
'test_figure.py',
46-
'test_fontconfig_pattern.py',
4749
'test_font_manager.py',
50+
'test_fontconfig_pattern.py',
4851
'test_ft2font.py',
4952
'test_getattr.py',
5053
'test_gridspec.py',
@@ -57,8 +60,8 @@ python_sources = [
5760
'test_mlab.py',
5861
'test_offsetbox.py',
5962
'test_patches.py',
60-
'test_patheffects.py',
6163
'test_path.py',
64+
'test_patheffects.py',
6265
'test_pickle.py',
6366
'test_png.py',
6467
'test_polar.py',
@@ -78,8 +81,8 @@ python_sources = [
7881
'test_table.py',
7982
'test_testing.py',
8083
'test_texmanager.py',
81-
'test_textpath.py',
8284
'test_text.py',
85+
'test_textpath.py',
8386
'test_ticker.py',
8487
'test_tightlayout.py',
8588
'test_transforms.py',

requirements/testing/mypy.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Extra pip requirements for the GitHub Actions mypy build
22

3-
mypy==1.1.1
4-
typing-extensions>=4.1,<5
3+
mypy>=1.9
4+
typing-extensions>=4.1
55

66
# Extra stubs distributed separately from the main pypi package
77
pandas-stubs

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ setenv =
1414
PIP_ISOLATED = 1
1515
usedevelop = True
1616
commands =
17-
pytest --pyargs matplotlib {posargs}
17+
pytest --pyargs matplotlib.tests {posargs}
1818
deps =
1919
pytest
2020

0 commit comments

Comments
 (0)