Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ENH: Add 'ulong' to sctypeDict (#21151) | Geoffrey Gunter | 2022-03-14 | 1 | -1/+1 | |
| | | | | | | | | | * ENH: Add 'ulong' to sctypeDict Closes #21063 * TST: Add a test for np.dtype("ulong") * REV: Don't add new attribute np.ulong | |||||
* | Merge pull request #21180 from BvB93/mypy | Charles Harris | 2022-03-13 | 12 | -62/+62 | |
|\ | | | | | TST: Bump mypy from 0.931 to 0.940 | |||||
| * | TST: Adapt to the mypy 0.940 `iter` changes | Bas van Beek | 2022-03-11 | 3 | -6/+6 | |
| | | | | | | | | xref https://github.com/python/typeshed/pull/6035 | |||||
| * | TST: Adapt to the mypy 0.940 changes in tuple representation | Bas van Beek | 2022-03-11 | 12 | -58/+58 | |
| | | ||||||
* | | Merge pull request #21111 from BvB93/__array_finalize__ | Matti Picus | 2022-02-24 | 5 | -0/+12 | |
|\ \ | |/ |/| | TYP, MAINT: Relax the `obj` type in `__array_finalize__` | |||||
| * | MAINT: Relax the `obj` type in `__array_finalize__` | Bas van Beek | 2022-02-23 | 3 | -0/+6 | |
| | | ||||||
| * | MAINT: Remove a leftover `__array_finalize__` property decorator | Bas van Beek | 2022-02-23 | 2 | -0/+6 | |
| | | ||||||
* | | ENH: Mark non-subclassable types as `final` | Bas van Beek | 2022-02-22 | 1 | -5/+5 | |
|/ | ||||||
* | TYP,TST: Add tests for known mypy-related false-positives | Bas van Beek | 2022-02-21 | 2 | -0/+21 | |
| | | | | These all concern known false positives due to known mypy bugs. If one of these tests break, than that would generally be indicative of a upstream bug fix | |||||
* | TYP,MAINT: Explicitly allow sequences of array-likes in `np.concatenate` | Bas van Beek | 2022-02-21 | 1 | -0/+5 | |
| | ||||||
* | TYP: Add dtype-typing support to `fromnumeric` part 3 | Bas van Beek | 2022-02-14 | 2 | -72/+90 | |
| | ||||||
* | DOC: See also should not have backticks. | Matthias Bussonnier | 2022-02-12 | 1 | -1/+1 | |
| | | | | NumpyDoc fails on this with a parse Error | |||||
* | TST: Add more typing tests for `np.core.fromnumeric` | Bas van Beek | 2022-02-09 | 2 | -58/+77 | |
| | ||||||
* | TST,MAINT: Improve a number of variable names | Bas van Beek | 2022-02-09 | 1 | -227/+226 | |
| | ||||||
* | Merge pull request #20902 from BvB93/fromnumeric | Charles Harris | 2022-01-27 | 2 | -85/+89 | |
|\ | | | | | TYP,ENH: Add dtype-typing support to `np.core.fromnumeric` (part 1) | |||||
| * | TYP,ENH: Add dtype-typing support to `fromnumeric` (part 1) | Bas van Beek | 2022-01-26 | 2 | -85/+89 | |
| | | ||||||
* | | MAINT: Add annotations for `flatiter.__setitem__` | Bas van Beek | 2022-01-27 | 1 | -0/+4 | |
| | | ||||||
* | | MAINT: Allow `flatiter.__getitem__` to accept 1-tuples | Bas van Beek | 2022-01-27 | 1 | -0/+2 | |
|/ | ||||||
* | Merge pull request #20887 from BvB93/aliases | Charles Harris | 2022-01-24 | 5 | -15/+33 | |
|\ | | | | | TYP,MAINT: Add aliases for commonly used unions | |||||
| * | TST: Fix failing typing tests | Bas van Beek | 2022-01-24 | 2 | -2/+2 | |
| | | ||||||
| * | MAINT: Create the `_ArrayLike` type-alias in `numpy.typing` | Bas van Beek | 2022-01-24 | 1 | -0/+6 | |
| | | | | | | | | Represents a subset of `npt.ArrayLike` that can be parametrized w.r.t. `np.generic` | |||||
| * | MAINT: Rename the old `_ArrayLike` parameter used inside the `_array_like` ↵ | Bas van Beek | 2022-01-24 | 1 | -12/+12 | |
| | | | | | | | | module | |||||
| * | MAINT: Create the `_DTypeLike` type-alias in `numpy.typing` | Bas van Beek | 2022-01-24 | 2 | -1/+13 | |
| | | | | | | | | Represents a subset of `npt.DTypeLike` that can be parametrized w.r.t. `np.generic` | |||||
* | | Merge pull request #20885 from BvB93/param_spec | Charles Harris | 2022-01-24 | 2 | -0/+6 | |
|\ \ | |/ |/| | TYP,ENH: Improve typing with the help of `ParamSpec` | |||||
| * | ENH: Improve typing with the help of `ParamSpec` | Bas van Beek | 2022-01-24 | 2 | -0/+6 | |
| | | ||||||
* | | MAINT: Relax the return-type of `np.vectorize` | Bas van Beek | 2022-01-19 | 1 | -1/+1 | |
|/ | ||||||
* | ENH: Type the `like` parameter via a `__array_function__` protocol | Bas van Beek | 2022-01-11 | 2 | -0/+3 | |
| | ||||||
* | TYP: Add a protocol class representing `__array_function__` | Bas van Beek | 2022-01-11 | 2 | -0/+15 | |
| | ||||||
* | MAINT: removed duplicate 'int' type in ScalarType | Gaëtan de Menten | 2022-01-10 | 2 | -6/+6 | |
| | ||||||
* | TYP: Allow time manipulation functions to accept `data` and `timedelta` objects | Bas van Beek | 2022-01-06 | 1 | -0/+12 | |
| | ||||||
* | TYP,MAINT: Allow `ndindex` to accept integer tuples | Bas van Beek | 2022-01-02 | 2 | -0/+3 | |
| | ||||||
* | TYP,TST: Bump mypy to 0.930 | Bas van Beek | 2021-12-26 | 1 | -1/+1 | |
| | ||||||
* | STY: Use subscriptable `collections.abc` types over the generic aliases in … | Bas van Beek | 2021-12-23 | 9 | -12/+13 | |
| | ||||||
* | STY: Use subscriptable `builtins` types over the generic aliases in `typing` | Bas van Beek | 2021-12-23 | 33 | -163/+154 | |
| | ||||||
* | STY: Replace `Union` with the `|` operator | Bas van Beek | 2021-12-22 | 2 | -8/+9 | |
| | ||||||
* | STY: Replace `Optional` with the `|` operator | Bas van Beek | 2021-12-22 | 1 | -2/+4 | |
| | ||||||
* | Merge pull request #20611 from BvB93/mypy | Charles Harris | 2021-12-17 | 1 | -5/+5 | |
|\ | | | | | TST: Bump mypy: 0.910 -> 0.920 | |||||
| * | TST: Fix mypy 0.920-related test failures | Bas van Beek | 2021-12-16 | 1 | -5/+5 | |
| | | ||||||
* | | ENH: add ndmin to `genfromtxt` behaving the same as `loadtxt` (#20500) | Ivan Gonzalez | 2021-12-16 | 1 | -1/+1 | |
| | | ||||||
* | | MAINT: Add `np.rec.array` overloads for `None` and file-like objects | Bas van Beek | 2021-12-15 | 1 | -0/+21 | |
| | | ||||||
* | | MAINT: Allow the `loadtxt` comments parameter to be `None` | Bas van Beek | 2021-12-15 | 1 | -0/+1 | |
|/ | ||||||
* | TST: Strip overload/protocol suggestions from reported mypy errors | Bas van Beek | 2021-11-26 | 1 | -1/+1 | |
| | ||||||
* | TST: Cache the compiled regex pattern in the `test_reveal` typing tests | Bas van Beek | 2021-11-26 | 1 | -3/+3 | |
| | ||||||
* | ENH: Add dtype-typing support to `np.core.function_base` | Bas van Beek | 2021-11-26 | 2 | -7/+21 | |
| | ||||||
* | BUG: Remove invalid `__dlpack__` decorator | Bas van Beek | 2021-11-26 | 1 | -0/+3 | |
| | ||||||
* | Merge pull request #20433 from BvB93/122_typing | Charles Harris | 2021-11-22 | 1 | -0/+8 | |
|\ | | | | | BUG: Fix an incorrect protocol used in `np.lib.shape_base` | |||||
| * | BUG: Fix an incorrect protocol used in `np.lib.shape_base` | Bas van Beek | 2021-11-22 | 1 | -0/+8 | |
| | | ||||||
* | | TST: Add typing tests for `np.emath` | Bas van Beek | 2021-11-22 | 1 | -0/+52 | |
|/ | ||||||
* | MAINT: Rename interpolation to method in percentile stubs | Sebastian Berg | 2021-11-12 | 1 | -2/+2 | |
| | ||||||
* | MAINT: Do not forward `__(deep)copy__` calls of `_GenericAlias` to the ↵ | Bas van Beek | 2021-11-10 | 2 | -0/+18 | |
| | | | | | | wrapped type Adapt to the python 3.9.8 changes made in bpo-45167. |