Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | ENH: Added a (python-based) backport of `types.GenericAlias` | Bas van Beek | 2021-05-12 | 2 | -0/+197 | |
| | | ||||||
* | | Merge pull request #19002 from BvB93/datasource | Charles Harris | 2021-05-17 | 4 | -0/+108 | |
|\ \ | | | | | | | ENH: Add annotations for `np.broadcast` and `np.DataSource` | |||||
| * | | TST: Add typing tests for `np.broadcast` and `np.DataSource` | Bas van Beek | 2021-05-13 | 4 | -0/+108 | |
| | | | ||||||
* | | | TST: Add typing tests for the newly (re-)annotated `ndarray`/`generic` methods | Bas van Beek | 2021-05-13 | 5 | -51/+168 | |
|/ / | ||||||
* | | TST: Add typing tests for the `item`, `take`, `tolist` and `repeat` methods | Bas van Beek | 2021-05-12 | 5 | -85/+127 | |
|/ | ||||||
* | TST: Fixed an incorrect error message | Bas van Beek | 2021-05-11 | 1 | -1/+1 | |
| | ||||||
* | TST: Add typing tests for `np.lib.NumpyVersion` | Bas van Beek | 2021-05-11 | 3 | -0/+42 | |
| | ||||||
* | TST: Add typing tests for `np.lib.utils` | Bas van Beek | 2021-05-08 | 3 | -0/+69 | |
| | ||||||
* | DOC: Add a segment to the `numpy.typing` docs about 0D arrays | Bas van Beek | 2021-04-30 | 1 | -0/+14 | |
| | ||||||
* | MAINT: Remove the `np.typing._ArrayOrScalar` type-alias | Bas van Beek | 2021-04-30 | 2 | -3/+0 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np.core.einsumfunc` | Bas van Beek | 2021-04-30 | 1 | -8/+8 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np` | Bas van Beek | 2021-04-30 | 4 | -243/+243 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np.typing._callable` | Bas van Beek | 2021-04-30 | 1 | -5/+5 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np.lib.ufunclike` | Bas van Beek | 2021-04-30 | 1 | -12/+12 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np.lib.index_tricks` | Bas van Beek | 2021-04-30 | 2 | -10/+11 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np.core.numeric` | Bas van Beek | 2021-04-30 | 1 | -5/+5 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np.core.function_base` | Bas van Beek | 2021-04-30 | 1 | -1/+1 | |
| | ||||||
* | MAINT: Remove unsafe unions from `np.core.fromnumeric` | Bas van Beek | 2021-04-30 | 2 | -190/+176 | |
| | ||||||
* | MAINT: import `emath` from `np.lib` | Bas van Beek | 2021-04-26 | 1 | -1/+0 | |
| | | | | aka `np.lib.scimath` | |||||
* | TST: Update the `np.core.numerictypes` typing tests | Bas van Beek | 2021-04-20 | 2 | -0/+36 | |
| | ||||||
* | TST: Fix a test failure for python 3.7 | Bas van Beek | 2021-04-15 | 1 | -2/+4 | |
| | ||||||
* | STY: pep8 fixes | Bas van Beek | 2021-04-15 | 1 | -4/+9 | |
| | ||||||
* | MAINT: Relax the integer-type-constraint of `npt._ShapeLike` | Bas van Beek | 2021-04-14 | 2 | -1/+13 | |
| | | | | Change `int` into the more forgiving `SupportsIndex` protocol | |||||
* | API,DEP: Move ufunc signature parsing to the start | Sebastian Berg | 2021-04-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | This may have slight affects on users, see release notes. Mainly, we have to parse the type tuple up-front (because we need to replace the current type resolution). Since we _must_ de-facto replace the current type resolution, I do not see why we should duplicate code for the odd possibility of someone actually calling `ufunc.type_resolver()` with a `typetup` that is not a actually a type tuple. This commit also deprecates `signature="l"` as meaning (normally) the same as `dtype="l"`. | |||||
* | Add test case for np.datetime64(dt.date(2000, 5, 3)) | Alexander Hunt | 2021-03-28 | 1 | -0/+1 | |
| | ||||||
* | API: Move `polynomial.polyutils` to the `PRIVATE_BUT_PRESENT_MODULES` list | Bas van Beek | 2021-03-16 | 2 | -2/+0 | |
| | | | | Aforementioned module was accidently marked as public | |||||
* | MAINT: Re-export a number of sub-modules | Bas van Beek | 2021-03-15 | 3 | -0/+31 | |
| | | | | | | | Ensures that type checkers will allow the likes of: >>> import numpy as np >>> out = np.lib.stride_tricks.sliding_window_view(...) | |||||
* | Merge pull request #18598 from BvB93/getitem | Ralf Gommers | 2021-03-13 | 2 | -0/+30 | |
|\ | | | | | MAINT: Add annotations for `dtype.__getitem__`, `__mul__` and `names` | |||||
| * | MAINT: Add annotations for `dtype.__getitem__`, `__mul__` and `names` | Bas van Beek | 2021-03-11 | 2 | -0/+30 | |
| | | ||||||
* | | MAINT: Tighten the type-constraints of the `__array__` dtype parameter | Bas van Beek | 2021-03-12 | 5 | -12/+10 | |
| | | | | | | | | The likes of `np.array(..., dtype=dtype)` will always pass `np.dtype` instances to `__array__(self, dtype=...)`, so that latter should not have to take arbitrary dtype-like objects but only actual `np.dtype` instances. | |||||
* | | MAINT: Relax the signature of the `__array__` protocol | Bas van Beek | 2021-03-12 | 1 | -2/+3 | |
| | | | | | | | | Implementations of `__array__` do not require the `dtype` parameter | |||||
* | | TST: Add typing tests for `np.lib.arrayterator` | Bas van Beek | 2021-03-12 | 3 | -0/+65 | |
|/ | ||||||
* | TST: Add typing tests for the inplace `ndarray` magic methods | Bas van Beek | 2021-03-04 | 2 | -6/+116 | |
| | ||||||
* | TST: Improve a number of mypy-related exception messages | Bas van Beek | 2021-03-04 | 1 | -7/+21 | |
| | ||||||
* | TST: Validate the mypy exit-code | Bas van Beek | 2021-03-04 | 1 | -1/+2 | |
| | | | | Any value other than 0 and 1 is indicative of some sort of crash | |||||
* | Merge pull request #18397 from BvB93/index-tricks | Charles Harris | 2021-02-27 | 5 | -1/+147 | |
|\ | | | | | ENH: Add annotations for `np.lib.index_tricks` | |||||
| * | MAINT: Relax the type-constraints of `IndexExpression.__getitem__` | Bas van Beek | 2021-02-25 | 3 | -4/+4 | |
| | | ||||||
| * | TST: Add typing tests for `np.lib.index_tricks` | Bas van Beek | 2021-02-25 | 3 | -0/+141 | |
| | | ||||||
| * | MAINT: Added the `_ArrayLikeInt` type alias | Bas van Beek | 2021-02-25 | 2 | -1/+6 | |
| | | | | | | | | | | An invariant-ish array-like consisting of int-like objects. Note that it is not truly invariant due to `builtins.bool` inheriting from `builtins.int` | |||||
* | | TST: Remove the `einsum` typing tests reliance on issuing a `ComplexWarning` | Bas van Beek | 2021-02-26 | 1 | -3/+2 | |
|/ | ||||||
* | TST: Add final tests | Kevin Sheppard | 2021-02-24 | 1 | -311/+347 | |
| | ||||||
* | Use {int_} for int return types | Kevin Sheppard | 2021-02-24 | 1 | -65/+65 | |
| | ||||||
* | BUG: Fix typing bugs | Kevin Sheppard | 2021-02-24 | 2 | -77/+75 | |
| | ||||||
* | ENH: Add tests for RandomState | Kevin Sheppard | 2021-02-24 | 2 | -0/+1165 | |
| | ||||||
* | TST: Add tests for dtype and out | Kevin Sheppard | 2021-02-24 | 2 | -1/+83 | |
| | | | | Add further tests for functions that accept out and dtype arguments | |||||
* | ENH/BUG: Improve definitions and fix bugs | Kevin Sheppard | 2021-02-24 | 2 | -9/+765 | |
| | | | | | | Add tests Fix related bugs Improve specificity of definitions | |||||
* | ENH/BUG: Add tests and correct typing issues | Kevin Sheppard | 2021-02-24 | 4 | -9/+1016 | |
| | | | | | | | Add tests for lower level components Correct errors found in testing Improve specificity of tests Other small fixes to docs and typing | |||||
* | TST: Add tests for random typing | Kevin Sheppard | 2021-02-24 | 3 | -0/+56 | |
| | ||||||
* | Merge pull request #18390 from BvB93/einsum | Charles Harris | 2021-02-12 | 6 | -1/+94 | |
|\ | | | | | ENH: Add annotations for `np.core.einsumfunc` | |||||
| * | TST: Fixed a broken `reveal` test | Bas van Beek | 2021-02-11 | 1 | -54/+18 | |
| | |