8000 Add instructions on running stubtest · matplotlib/matplotlib@106ce16 · GitHub
[go: up one dir, main page]

Skip to content

Commit 106ce16

Browse files
committed
Add instructions on running stubtest
1 parent b0dd5ab commit 106ce16

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/devel/coding_guide.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,8 @@ We generally use `stub files
8888
the type information for ``colors.py``. A notable exception is ``pyplot.py``,
8989
which is type hinted inline.
9090

91-
Type hints are checked by the mypy :ref:`pre-commit hook <pre-commit-hooks>`
92-
and can often be verified using ``tools\stubtest.py`` and occasionally may
93-
require the use of ``tools\check_typehints.py``.
91+
Type hints are checked by the mypy :ref:`pre-commit hook <pre-commit-hooks>`,
92+
can often be verified by running ``tox -e stubtest``.
9493

9594
New modules and files: installation
9695
===================================

0 commit comments

Comments
 (0)
0