Skip to content

Commit 22d4ec3

Browse files
authored
DOC: add typing test to dev env page
2 parents 237fc7a + 6b595af commit 22d4ec3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/source/dev/development_environment.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,16 @@ For more extensive information, see :ref:`testing-guidelines`.
185185
Note: do not run the tests from the root directory of your numpy git repo without ``spin``,
186186
that will result in strange test errors.
187187

188+
Running type checks
189+
-------------------
190+
Changes that involve static type declarations are also executed using ``spin``.
191+
The invocation will look like the following:
192+
193+
$ spin mypy
194+
195+
This will look in the ``typing/tests`` directory for sets of operations to
196+
test for type incompatibility.
197+
188198
Running linting
189199
---------------
190200
Lint checks can be performed on newly added lines of Python code.

0 commit comments

Comments
 (0)