diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2020-11-22 10:01:23 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2020-11-22 10:01:23 -0700 |
commit | c4cbf80f7a24070267538dc55e5821d521cbf04a (patch) | |
tree | 402e8f1f64d3d124843b0bab8a04a6165bc4837e /doc/release | |
parent | 284de4863d6d7e3a39c20a0bc776b151e8106954 (diff) | |
download | numpy-c4cbf80f7a24070267538dc55e5821d521cbf04a.tar.gz |
DOC: Add gh-17123 to NumPy 1.20.0 release notes.
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/upcoming_changes/17123.new_feature.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17123.new_feature.rst b/doc/release/upcoming_changes/17123.new_feature.rst new file mode 100644 index 000000000..e2aca3c55 --- /dev/null +++ b/doc/release/upcoming_changes/17123.new_feature.rst @@ -0,0 +1,12 @@ +``mypy`` tests can be run via 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. |