summaryrefslogtreecommitdiff
path: root/numpy/typing
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update mypy_plugin.pyBas van Beek2020-12-221-1/+1
| |
| * DOC: Add a comment about truncating and sub-string matchingBas van Beek2020-12-221-0/+3
| | | | | | | | Co-Authored-By: Eric Wieser <425260+eric-wieser@users.noreply.github.com>
| * ENH: Add unit support to the `datetime64`/`timedelta64` character codesBas van Beek2020-12-221-6/+66
| |
| * MAINT: Import `mypy` via a try/except approachBas van Beek2020-12-221-15/+23
| | | | | | | | Fixes an issue where the `pypy` tests would fail
| * MAINT,TST: Fixed a failure due platform-dependent precisionsBas van Beek2020-12-221-4/+4
| |
| * TST: Add `numpy.typing.mypy_plugin` to the list of public modulesBas van Beek2020-12-221-0/+2
| |
| * DOC: Add a docstring to the mypy plugin entry-pointBas van Beek2020-12-221-0/+1
| |
| * DOC,STY: Fixed a few typos and the likesBas van Beek2020-12-221-5/+5
| |
| * ENH: Take the precision of `np.int_` into account arithmetic operationsBas van Beek2020-12-224-48/+50
| |
| * ENH: Use `intp` as return type for all appropiate functionsBas van Beek2020-12-222-18/+18
| | | | | | | | Since `intp` is now annotated it can be used in place of `signedinteger[Any]`
| * ENH: Centralize all `DTypeLike` string aliases in `numpy.typing`Bas van Beek2020-12-222-0/+156
| |
| * ENH: Added a mypy plugin for handling platform-specific `np.number` precisionsBas van Beek2020-12-226-1/+180
| |
* | MAINT: Add aliases for commonly used `ArrayLike` objectsBas van Beek2020-12-212-7/+96
|/
* TST: Added typing tests for `np.core.arrayprint`Bas van Beek2020-12-193-0/+69
|
* Merge pull request #17981 from BvB93/flatiterCharles Harris2020-12-115-23/+33
|\ | | | | ENH: Add proper dtype-support to `np.flatiter`
| * STY: Fixed a typo: `ofthe` -> `of the`Bas van Beek2020-12-111-1/+1
| | | | | | | | | | | | Addresses https://github.com/numpy/numpy/pull/17981#discussion_r541018879 Co-Authored-By: Charles Harris <charlesr.harris@gmail.com>
| * TST: Updated the `__array__` typing testsBas van Beek2020-12-112-6/+6
| |
| * TST: Updated the `np.flatiter` typing testsBas van Beek2020-12-112-9/+14
| |
| * ENH: Add dtype-support for the `__array__` protocolBas van Beek2020-12-111-8/+13
| |
* | Merge pull request #17968 from BvB93/dtype-typevarCharles Harris2020-12-112-0/+16
|\ \ | |/ |/| ENH: Use more typevars in `np.dtype`
| * TST: Add new tests for `dtype` methodsBas van Beek2020-12-092-0/+16
| |
* | Merge pull request #17795 from BvB93/x-likeMatti Picus2020-12-093-3/+9
|\ \ | |/ |/| ENH: Add two new `_<X>Like` unions
| * MAINT: Simplify existing `_<X>Like` annotationsBas van Beek2020-11-171-1/+1
| |
| * ENH: Add `_UIntLike` and `_TD64Like`Bas van Beek2020-11-172-1/+5
| |
| * ENH: Add `_BoolLike` to the union defining `_IntLike`Bas van Beek2020-11-171-1/+3
| |
* | TST: Fixed an issue where the typing tests would fail for comparison operationsBas van Beek2020-12-051-36/+36
| |
* | Merge pull request #17719 from BvB93/ndarrayCharles Harris2020-12-054-262/+262
|\ \ | | | | | | ENH: Make `ndarray` generic w.r.t. its shape and dtype
| * | TST: Replace `numpy.ndarray` with `numpy.ndarray[Any, Any]`Bas van Beek2020-11-264-262/+262
| | |
* | | MAINT: clean up a spurious warning in numpy/typing/setup.pyRalf Gommers2020-11-291-1/+0
| | | | | | | | | | | | | | | | | | Warning was: could not resolve pattern in 'numpy/typing': '*.pyi'
* | | Merge pull request #17778 from BvB93/comparisonRalf Gommers2020-11-293-0/+503
|\ \ \ | |/ / |/| | ENH: Add annotations for comparison operations
| * | TST: Added typing tests for comparison opsBas van Beek2020-11-242-0/+494
| | |
| * | ENH: Added annotations for `ndarray`/`generic` comparison opsBas van Beek2020-11-241-0/+9
| | |
* | | DOC: Add a note to provide clarification about `__all__: List[str]`Bas van Beek2020-11-251-0/+3
| | | | | | | | | | | | Addresses https://github.com/numpy/numpy/pull/17844#discussion_r530495392
* | | STY: Removed an unused f-stringBas van Beek2020-11-251-1/+1
| | |
* | | MAINT: Add `__all__` to `numpy.typing`Bas van Beek2020-11-251-2/+10
|/ /
* | DOC: Update the `numpy.typing` documentationBas van Beek2020-11-242-18/+144
| |
* | MAINT: Set the ufunc and ndarray ops return type to `Any`Bas van Beek2020-11-193-51/+51
|/
* TST: Updated the scalar typing testsBas van Beek2020-11-143-2/+35
|
* Merge pull request #17643 from BvB93/ufunc_configCharles Harris2020-11-143-0/+96
|\ | | | | ENH: Add annotations for `np.core._ufunc_config`
| * TST: Added typing tests for `np.core._ufunc_config`Bas van Beek2020-10-263-0/+96
| |
* | ENH: adds type hints to numpy.version (gh-17711)Douglas Fenstermacher2020-11-051-1/+0
| | | | | | Closes gh-17702
* | Merge pull request #17701 from BvB93/pyiCharles Harris2020-11-032-0/+35
|\ \ | | | | | | BUG: Fixed an issue where `.pyi` files were ignored by numpy sub-packages
| * | TST: Validate the existence of `.pyi` stub filesBas van Beek2020-11-031-0/+34
| | |
| * | BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packagesBas van Beek2020-11-031-0/+1
| | |
* | | MAINT: Rename `DtypeLike` to `DTypeLike`Bas van Beek2020-11-035-26/+26
|/ /
* | Merge pull request #17644 from BvB93/shape-baseRalf Gommers2020-11-013-0/+52
|\ \ | | | | | | ENH: Add annotations for `np.core.shape_base`
| * | TST: Added typing tests for `np.core.shape_base`Bas van Beek2020-10-263-0/+52
| |/
* | TST: Add tests for conversions to builtin scalar typesBas van Beek2020-10-222-10/+45
| |
* | TST: Added typing tests for unary operationsBas van Beek2020-10-223-6/+75
| |
* | TST: Added typing tests for `__mod__` & `__divmod__`Bas van Beek2020-10-223-1/+298
| |