Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: remove redundant open() modes and io.open() alias | Mike Taves | 2022-10-29 | 1 | -1/+1 |
| | |||||
* | MAINT: Split `numpy.typing` into a public and private component | Bas van Beek | 2022-03-18 | 1 | -27/+27 |
| | | | | i.e. `numpy.typing` and `numpy._typing` | ||||
* | 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 |
| | |||||
* | TST,MAINT: Allow module names to be excluded in typing tests (#20287) | Sayantika Banik | 2021-11-03 | 1 | -2/+13 |
| | |||||
* | STY: Linting fixes | Bas van Beek | 2021-10-29 | 1 | -3/+6 |
| | |||||
* | TST: Account for the platform-specific mapping of numpy- to ctypes-types | Bas van Beek | 2021-10-29 | 1 | -0/+33 |
| | |||||
* | TST,ENH: Print the relevant expression whenever a `test_fail` or ↵ | Bas van Beek | 2021-10-29 | 1 | -15/+28 |
| | | | | `test_reveal` test fails | ||||
* | TST: Strip the file-extensions from the parametrize ID | Bas van Beek | 2021-10-26 | 1 | -9/+3 |
| | |||||
* | TST: Summarize the line number when `test_fail` receives unexpected mypy outputs | Bas van Beek | 2021-10-04 | 1 | -1/+3 |
| | |||||
* | TST,MAINT: Change the `data/reveal/` and `data/fail/` files to stub-only | Bas van Beek | 2021-09-30 | 1 | -2/+2 |
| | | | | The relevant files were already stub-only in all but name | ||||
* | STY: Introduce various linting fixes to `numpy.typing` | Bas van Beek | 2021-09-30 | 1 | -29/+79 |
| | | | | | | * Introduce various linting fixes to `numpy.typing` * Add annotations to a few internal testing functions * Switch to PEP 585 `builtins` annotations where possible | ||||
* | DOC: Typos found by codespell | Dimitri Papadopoulos | 2021-09-21 | 1 | -3/+3 |
| | |||||
* | TST: Add typing tests for `np.ctypeslib.c_intp` and its mypy plugin | Bas van Beek | 2021-05-21 | 1 | -1/+8 |
| | |||||
* | 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 | ||||
* | ENH/BUG: Add tests and correct typing issues | Kevin Sheppard | 2021-02-24 | 1 | -1/+4 |
| | | | | | | | Add tests for lower level components Correct errors found in testing Improve specificity of tests Other small fixes to docs and typing | ||||
* | TST: Removed an incorrect `dict.values()` call | Bas van Beek | 2021-02-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #18322 from BvB93/plugin-precision | Charles Harris | 2021-02-08 | 1 | -2/+56 |
|\ | | | | | ENH: Add a mypy plugin for exposing platform-specific extended-precision types | ||||
| * | TST: Add tests for the extended-precision plugin | Bas van Beek | 2021-02-05 | 1 | -2/+56 |
| | | |||||
* | | TST: Provide a more useful exception message if the `pass` tests fail | Bas van Beek | 2021-02-05 | 1 | -1/+2 |
|/ | |||||
* | MAINT: Do not split at the first `:` character if the path contains a ↵ | Bas van Beek | 2021-01-22 | 1 | -2/+10 |
| | | | | windows drive | ||||
* | TST: Enable the `show_absolute_path` option in mypy.ini | Bas van Beek | 2021-01-22 | 1 | -4/+1 |
| | |||||
* | TST: Alias `OUTPUT_MYPY` so that it appears in the local namespace | Bas van Beek | 2021-01-22 | 1 | -6/+13 |
| | |||||
* | MAINT: Manually assign the full path rather than using `os.path.abspath` | Bas van Beek | 2021-01-22 | 1 | -1/+2 |
| | | | | Fixes an issue with the azure (windows) tests where `abspath` would point to the wrong directory | ||||
* | TST: Run mypy once and cache the results | Bas van Beek | 2021-01-21 | 1 | -45/+33 |
| | |||||
* | TST: Clear the mypy cache before running any typing tests | Bas van Beek | 2021-01-15 | 1 | -0/+10 |
| | |||||
* | TST: Allow mypy output types to be specified via aliases | Bas van Beek | 2020-12-23 | 1 | -3/+79 |
| | |||||
* | TST: Fixed the line number offset | Bas van Beek | 2020-10-22 | 1 | -1/+1 |
| | |||||
* | Merge pull request #17597 from BvB93/tests | Matti Picus | 2020-10-21 | 1 | -5/+42 |
|\ | | | | | TST: Clean up the errors of the typing tests | ||||
| * | TST: Clean up the errors of the typing tests | Bas van Beek | 2020-10-21 | 1 | -5/+42 |
| | | |||||
* | | TST: Ignore all `*` characters in the reveal tests | Bas van Beek | 2020-10-17 | 1 | -2/+3 |
|/ | | | | | | | | Mypy uses a `*` whenever an annotation or one of its parameters is based on a TypeVar. Its added value is neglible and it unnecessarily complicates the `reveal` tests so lets just ignore them. Note that this is done after running mypy, so it won't affect cases where `*` is used as multiplication operator. | ||||
* | TST: Mark the typing tests as slow | Bas van Beek | 2020-10-01 | 1 | -0/+4 |
| | |||||
* | MAINT: Move typing tests | Charles Harris | 2020-09-07 | 1 | -0/+140 |
Move them into a new `numpy/typing/tests directory` |