diff options
author | Josh Wilson <person142@users.noreply.github.com> | 2020-08-20 12:19:43 -0700 |
---|---|---|
committer | Josh Wilson <person142@users.noreply.github.com> | 2020-08-20 12:25:37 -0700 |
commit | 8e0b47524dd93cca23ad730304bb80c19cd65f15 (patch) | |
tree | a8cc2f133eb60302301e72a77d299954f8bc491a /numpy/lib/tests/test_function_base.py | |
parent | 0bd548e287b9e2fd0126f64d8be01a812e3c6a48 (diff) | |
download | numpy-8e0b47524dd93cca23ad730304bb80c19cd65f15.tar.gz |
ENH: allow running mypy through runtests.py
Currently running mypy with the NumPy stubs configured requires
either:
- Installing NumPy
- Adding the source directory to MYPYPATH and linking to the mypy.ini
Both options are somewhat inconvenient, so add a `--mypy` option to
runtests that handles setting things up for you.
This will also be useful in the future for any typing codegen since it
will ensure the project is built before type checking.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions