Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge pull request #19286 from BvB93/type_check | Charles Harris | 2021-06-23 | 2 | -0/+86 | |
|\ \ \ | |_|/ |/| | | ENH: Add annotations for `np.lib.type_check` | |||||
| * | | TST: Add typing tests for `np.lib.type_check` | Bas van Beek | 2021-06-20 | 2 | -0/+86 | |
| | | | ||||||
* | | | TST: Update the dtype typing tests | Bas van Beek | 2021-06-18 | 1 | -21/+30 | |
|/ / | ||||||
* | | Merge pull request #19261 from BvB93/2dim | Charles Harris | 2021-06-16 | 2 | -0/+109 | |
|\ \ | | | | | | | ENH: Add annotations for `np.lib.twodim_base` | |||||
| * | | TST: Add typing tests for `np.lib.twodim_base` | Bas van Beek | 2021-06-16 | 2 | -0/+109 | |
| | | | ||||||
* | | | TST: Update the typing tests for `np.core.shape_base` | Bas van Beek | 2021-06-14 | 2 | -18/+20 | |
|/ / | ||||||
* | | TST: Fixed two test failures for mypy 0.902 | Bas van Beek | 2021-06-14 | 2 | -3/+3 | |
| | | ||||||
* | | TST: Update the typing tests for `np.core.multiarray` | Bas van Beek | 2021-06-13 | 4 | -2/+102 | |
| | | ||||||
* | | Merge pull request #19227 from BvB93/multiarray3 | Charles Harris | 2021-06-12 | 3 | -33/+48 | |
|\ \ | | | | | | | ENH: Add annotations to `np.core.multiarray` part 2/4 | |||||
| * | | TST: Update the typing tests for `np.core.multiarray` | Bas van Beek | 2021-06-11 | 3 | -33/+48 | |
| | | | ||||||
* | | | TST: Add typing tests for `np.lib.arraypad` | Bas van Beek | 2021-06-11 | 2 | -0/+28 | |
|/ / | ||||||
* | | Merge pull request #19060 from BvB93/multiarray-docs | Charles Harris | 2021-06-10 | 6 | -67/+201 | |
|\ \ | | | | | | | ENH: Add initial annotations to `np.core.multiarray` | |||||
| * | | TST: Add typing tests for `np.core.multiarray` | Bas van Beek | 2021-06-06 | 5 | -54/+188 | |
| | | | ||||||
| * | | STY: Rename `_Casting` to `_CastingKind` | Bas van Beek | 2021-06-06 | 1 | -13/+13 | |
| | | | ||||||
* | | | Merge pull request #19179 from BvB93/testing | Charles Harris | 2021-06-10 | 3 | -3/+199 | |
|\ \ \ | |/ / |/| | | ENH: Add annotations for `np.testing` | |||||
| * | | TST: Add typing tests for `np.testing` | Bas van Beek | 2021-06-06 | 3 | -3/+199 | |
| | | | ||||||
* | | | Merge pull request #19140 from BvB93/astype | Charles Harris | 2021-06-06 | 2 | -28/+37 | |
|\ \ \ | |/ / |/| | | ENH: Add dtype-support to 3 `generic`/`ndarray` methods | |||||
| * | | TST: Update the `ndarray`/`generic` typing tests | Bas van Beek | 2021-05-31 | 2 | -28/+37 | |
| |/ | ||||||
* | | MAINT: Added a missing `sys.version` check | Bas van Beek | 2021-06-05 | 4 | -7/+4 | |
| | | ||||||
* | | REV,BUG: Replace `NotImplemented` with `typing.Any` | Bas van Beek | 2021-06-05 | 8 | -97/+97 | |
| | | ||||||
* | | MAINT: Provide more type-safety by replacing `Any` with `object` | Bas van Beek | 2021-06-04 | 1 | -4/+11 | |
| | | ||||||
* | | BUG: Fixe an issue wherein `_GenericAlias` could raise for non-tuple parameters | Bas van Beek | 2021-06-04 | 2 | -1/+7 | |
|/ | ||||||
* | Merge pull request #19062 from BvB93/ctypes-plugin | Charles Harris | 2021-05-28 | 5 | -22/+67 | |
|\ | | | | | ENH: Add a mypy plugin for inferring the precision of `np.ctypeslib.c_intp` | |||||
| * | MAINT: Refactor the `c_intp`-type inferring function | Bas van Beek | 2021-05-25 | 1 | -3/+9 | |
| | | | | | | | | | | | | Model it after `np.core._internal._getintp_ctype` Co-Authored-By: Eric Wieser <425260+eric-wieser@users.noreply.github.com> | |||||
| * | TST: Add typing tests for `np.ctypeslib.c_intp` and its mypy plugin | Bas van Beek | 2021-05-21 | 3 | -3/+13 | |
| | | ||||||
| * | ENH: Add a mypy plugin for inferring the precision of `np.ctypeslib.c_intp` | Bas van Beek | 2021-05-21 | 2 | -19/+48 | |
| | | ||||||
* | | STY: Use the PEP 604 pipe operator over `Optional` and `Union` | Bas van Beek | 2021-05-27 | 4 | -86/+84 | |
| | | | | | | | | PEP 604 -- Allow writing union types as X | Y | |||||
* | | STY: Use `GenericAlias` to get rid of string-based literal expressions | Bas van Beek | 2021-05-27 | 3 | -28/+37 | |
| | | ||||||
* | | STY: Replace all `Any`-based runtime placeholders with `NotImplemented` | Bas van Beek | 2021-05-27 | 3 | -73/+73 | |
| | | ||||||
* | | MAINT: Unconditionally import from `typing_extensions` while static type ↵ | Bas van Beek | 2021-05-27 | 1 | -5/+1 | |
| | | | | | | | | | | | | checking `typing_extensions` is a de facto hard dependency of all static type checkers (via its use in typeshed), so we can safely import all >3.7-exclusive types from there without version checking | |||||
* | | ENH: Add a global constant to `numpy.typing` denoting whether or not ↵ | Bas van Beek | 2021-05-27 | 6 | -43/+39 | |
| | | | | | | | | `typing_extensions` is available | |||||
* | | Merge pull request #19090 from default-303/LGTM_alerts | Charles Harris | 2021-05-25 | 2 | -4/+1 | |
|\ \ | | | | | | | MAINT: removed unused imports listed in LGTM | |||||
| * | | MAINT: removed unused imports listed in LGTM | default-303 | 2021-05-24 | 2 | -4/+1 | |
| |/ | ||||||
* | | MAINT: Change the variance of the `npt.ArrayLike` to covariant | Bas van Beek | 2021-05-25 | 3 | -4/+4 | |
| | | ||||||
* | | BUG: Fixed an issue wherein `_GenericAlias.__getitem__` would raise for ↵ | Bas van Beek | 2021-05-25 | 2 | -1/+5 | |
|/ | | | | underlying types with >1 parameters | |||||
* | Merge pull request #19029 from BvB93/internal | Charles Harris | 2021-05-20 | 2 | -0/+19 | |
|\ | | | | | ENH: Improve the annotations of `np.core._internal` | |||||
| * | DEP: Remove annotations for 4 deprecated methods | Bas van Beek | 2021-05-18 | 2 | -5/+7 | |
| | | ||||||
| * | TST: Add typing tests for `np.core._internal._ctypes` | Bas van Beek | 2021-05-18 | 1 | -0/+17 | |
| | | ||||||
* | | TST: Update the `ufunc` typing tests | Bas van Beek | 2021-05-20 | 3 | -3/+106 | |
| | | ||||||
* | | ENH: Improve the `np.ufunc` annotations | Bas van Beek | 2021-05-20 | 2 | -3/+423 | |
| | | ||||||
* | | MAINT: Added a missing object to `npt.__all__` | Bas van Beek | 2021-05-20 | 1 | -1/+1 | |
| | | ||||||
* | | BLD: Add `.pyi` data files to the `numpy.typing` sub-package | Bas van Beek | 2021-05-20 | 1 | -0/+1 | |
|/ | ||||||
* | Merge pull request #18935 from BvB93/generic-alias | Charles Harris | 2021-05-17 | 6 | -10/+375 | |
|\ | | | | | API: Add `npt.NDArray`, a runtime-subscriptable alias for `np.ndarray` | |||||
| * | TST: Fix a python >= 3.9 test | Bas van Beek | 2021-05-12 | 1 | -2/+4 | |
| | | ||||||
| * | MAINT: Removed an unused variable | Bas van Beek | 2021-05-12 | 1 | -1/+0 | |
| | | ||||||
| * | STY: Stay under the 79 characters limit | Bas van Beek | 2021-05-12 | 1 | -39/+36 | |
| | | ||||||
| * | MAINT: Replace `_ArrayND` with `NDArray` | Bas van Beek | 2021-05-12 | 3 | -8/+3 | |
| | | ||||||
| * | ENH: Add docstrings and annotations to 2 misc private functions | Bas van Beek | 2021-05-12 | 1 | -2/+18 | |
| | | ||||||
| * | API: Add a runtime-subscriptable alias for `ndarray` | Bas van Beek | 2021-05-12 | 3 | -1/+47 | |
| | | ||||||
| * | TST: Add tests for `GenericAlias` | Bas van Beek | 2021-05-12 | 1 | -0/+113 | |
| | |