Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Update mypy_plugin.py | Bas van Beek | 2020-12-22 | 1 | -1/+1 | |
| | | ||||||
| * | DOC: Add a comment about truncating and sub-string matching | Bas van Beek | 2020-12-22 | 1 | -0/+3 | |
| | | | | | | | | Co-Authored-By: Eric Wieser <425260+eric-wieser@users.noreply.github.com> | |||||
| * | ENH: Add unit support to the `datetime64`/`timedelta64` character codes | Bas van Beek | 2020-12-22 | 1 | -6/+66 | |
| | | ||||||
| * | MAINT: Import `mypy` via a try/except approach | Bas van Beek | 2020-12-22 | 1 | -15/+23 | |
| | | | | | | | | Fixes an issue where the `pypy` tests would fail | |||||
| * | MAINT,TST: Fixed a failure due platform-dependent precisions | Bas van Beek | 2020-12-22 | 1 | -4/+4 | |
| | | ||||||
| * | TST: Add `numpy.typing.mypy_plugin` to the list of public modules | Bas van Beek | 2020-12-22 | 1 | -0/+2 | |
| | | ||||||
| * | DOC: Add a docstring to the mypy plugin entry-point | Bas van Beek | 2020-12-22 | 1 | -0/+1 | |
| | | ||||||
| * | DOC,STY: Fixed a few typos and the likes | Bas van Beek | 2020-12-22 | 1 | -5/+5 | |
| | | ||||||
| * | ENH: Take the precision of `np.int_` into account arithmetic operations | Bas van Beek | 2020-12-22 | 4 | -48/+50 | |
| | | ||||||
| * | ENH: Use `intp` as return type for all appropiate functions | Bas van Beek | 2020-12-22 | 2 | -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 Beek | 2020-12-22 | 2 | -0/+156 | |
| | | ||||||
| * | ENH: Added a mypy plugin for handling platform-specific `np.number` precisions | Bas van Beek | 2020-12-22 | 6 | -1/+180 | |
| | | ||||||
* | | MAINT: Add aliases for commonly used `ArrayLike` objects | Bas van Beek | 2020-12-21 | 2 | -7/+96 | |
|/ | ||||||
* | TST: Added typing tests for `np.core.arrayprint` | Bas van Beek | 2020-12-19 | 3 | -0/+69 | |
| | ||||||
* | Merge pull request #17981 from BvB93/flatiter | Charles Harris | 2020-12-11 | 5 | -23/+33 | |
|\ | | | | | ENH: Add proper dtype-support to `np.flatiter` | |||||
| * | STY: Fixed a typo: `ofthe` -> `of the` | Bas van Beek | 2020-12-11 | 1 | -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 tests | Bas van Beek | 2020-12-11 | 2 | -6/+6 | |
| | | ||||||
| * | TST: Updated the `np.flatiter` typing tests | Bas van Beek | 2020-12-11 | 2 | -9/+14 | |
| | | ||||||
| * | ENH: Add dtype-support for the `__array__` protocol | Bas van Beek | 2020-12-11 | 1 | -8/+13 | |
| | | ||||||
* | | Merge pull request #17968 from BvB93/dtype-typevar | Charles Harris | 2020-12-11 | 2 | -0/+16 | |
|\ \ | |/ |/| | ENH: Use more typevars in `np.dtype` | |||||
| * | TST: Add new tests for `dtype` methods | Bas van Beek | 2020-12-09 | 2 | -0/+16 | |
| | | ||||||
* | | Merge pull request #17795 from BvB93/x-like | Matti Picus | 2020-12-09 | 3 | -3/+9 | |
|\ \ | |/ |/| | ENH: Add two new `_<X>Like` unions | |||||
| * | MAINT: Simplify existing `_<X>Like` annotations | Bas van Beek | 2020-11-17 | 1 | -1/+1 | |
| | | ||||||
| * | ENH: Add `_UIntLike` and `_TD64Like` | Bas van Beek | 2020-11-17 | 2 | -1/+5 | |
| | | ||||||
| * | ENH: Add `_BoolLike` to the union defining `_IntLike` | Bas van Beek | 2020-11-17 | 1 | -1/+3 | |
| | | ||||||
* | | TST: Fixed an issue where the typing tests would fail for comparison operations | Bas van Beek | 2020-12-05 | 1 | -36/+36 | |
| | | ||||||
* | | Merge pull request #17719 from BvB93/ndarray | Charles Harris | 2020-12-05 | 4 | -262/+262 | |
|\ \ | | | | | | | ENH: Make `ndarray` generic w.r.t. its shape and dtype | |||||
| * | | TST: Replace `numpy.ndarray` with `numpy.ndarray[Any, Any]` | Bas van Beek | 2020-11-26 | 4 | -262/+262 | |
| | | | ||||||
* | | | MAINT: clean up a spurious warning in numpy/typing/setup.py | Ralf Gommers | 2020-11-29 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | Warning was: could not resolve pattern in 'numpy/typing': '*.pyi' | |||||
* | | | Merge pull request #17778 from BvB93/comparison | Ralf Gommers | 2020-11-29 | 3 | -0/+503 | |
|\ \ \ | |/ / |/| | | ENH: Add annotations for comparison operations | |||||
| * | | TST: Added typing tests for comparison ops | Bas van Beek | 2020-11-24 | 2 | -0/+494 | |
| | | | ||||||
| * | | ENH: Added annotations for `ndarray`/`generic` comparison ops | Bas van Beek | 2020-11-24 | 1 | -0/+9 | |
| | | | ||||||
* | | | DOC: Add a note to provide clarification about `__all__: List[str]` | Bas van Beek | 2020-11-25 | 1 | -0/+3 | |
| | | | | | | | | | | | | Addresses https://github.com/numpy/numpy/pull/17844#discussion_r530495392 | |||||
* | | | STY: Removed an unused f-string | Bas van Beek | 2020-11-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | MAINT: Add `__all__` to `numpy.typing` | Bas van Beek | 2020-11-25 | 1 | -2/+10 | |
|/ / | ||||||
* | | DOC: Update the `numpy.typing` documentation | Bas van Beek | 2020-11-24 | 2 | -18/+144 | |
| | | ||||||
* | | MAINT: Set the ufunc and ndarray ops return type to `Any` | Bas van Beek | 2020-11-19 | 3 | -51/+51 | |
|/ | ||||||
* | TST: Updated the scalar typing tests | Bas van Beek | 2020-11-14 | 3 | -2/+35 | |
| | ||||||
* | Merge pull request #17643 from BvB93/ufunc_config | Charles Harris | 2020-11-14 | 3 | -0/+96 | |
|\ | | | | | ENH: Add annotations for `np.core._ufunc_config` | |||||
| * | TST: Added typing tests for `np.core._ufunc_config` | Bas van Beek | 2020-10-26 | 3 | -0/+96 | |
| | | ||||||
* | | ENH: adds type hints to numpy.version (gh-17711) | Douglas Fenstermacher | 2020-11-05 | 1 | -1/+0 | |
| | | | | | | Closes gh-17702 | |||||
* | | Merge pull request #17701 from BvB93/pyi | Charles Harris | 2020-11-03 | 2 | -0/+35 | |
|\ \ | | | | | | | BUG: Fixed an issue where `.pyi` files were ignored by numpy sub-packages | |||||
| * | | TST: Validate the existence of `.pyi` stub files | Bas van Beek | 2020-11-03 | 1 | -0/+34 | |
| | | | ||||||
| * | | BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packages | Bas van Beek | 2020-11-03 | 1 | -0/+1 | |
| | | | ||||||
* | | | MAINT: Rename `DtypeLike` to `DTypeLike` | Bas van Beek | 2020-11-03 | 5 | -26/+26 | |
|/ / | ||||||
* | | Merge pull request #17644 from BvB93/shape-base | Ralf Gommers | 2020-11-01 | 3 | -0/+52 | |
|\ \ | | | | | | | ENH: Add annotations for `np.core.shape_base` | |||||
| * | | TST: Added typing tests for `np.core.shape_base` | Bas van Beek | 2020-10-26 | 3 | -0/+52 | |
| |/ | ||||||
* | | TST: Add tests for conversions to builtin scalar types | Bas van Beek | 2020-10-22 | 2 | -10/+45 | |
| | | ||||||
* | | TST: Added typing tests for unary operations | Bas van Beek | 2020-10-22 | 3 | -6/+75 | |
| | | ||||||
* | | TST: Added typing tests for `__mod__` & `__divmod__` | Bas van Beek | 2020-10-22 | 3 | -1/+298 | |
| | |