Alex Waygood
b53843ab46
Add infrastructure allowing for test cases for third-party stubs ( #8700 )
...
- Move the logic for running mypy on the test cases from `tests/mypy_test.py` to a separate script, `tests/regr_test.py`.
- Add the necessary logic in order to be able to have test cases for third-party stubs.
- Move logic common to `tests/mypy_test.py` and `tests/regr_test.py` into `tests/colors.py`, and rename `tests/colors.py` to `tests/utils.py`.
- Add a new check to `tests/check_consistent.py`, to enforce the use of `# pyright: reportUnnecessaryTypeIgnoreComment=true` comments in third-party test cases. These are essential if we want to have our tests against false-negatives work with pyright.
- Update the relevant documentation to account for the new test file.
- Add a new job to the `tests.yml` GitHub workflow, to run the new test in CI.
- Add a simple proof-of-concept test case for `requests`, as a regression test for #7998 .
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2022-09-08 16:51:33 +01:00
..
2022-08-29 12:56:06 +01:00
2022-07-19 08:11:29 +01:00
2022-06-25 08:09:25 +01:00
2022-05-07 10:35:50 +02:00
2022-07-04 10:29:47 +02:00
2022-07-01 22:45:32 +02:00
2022-06-26 08:56:18 +01:00
2022-09-05 15:16:33 -07:00
2022-07-12 15:32:48 +02:00
2022-07-19 08:23:24 +01:00
2022-07-28 22:32:06 -07:00
2022-06-26 08:56:18 +01:00
2022-07-19 08:23:24 +01:00
2022-06-09 15:49:23 +02:00
2022-08-10 18:56:14 +01:00
2022-04-16 14:52:57 +01:00
2022-07-19 08:11:29 +01:00
2022-07-12 15:32:48 +02:00
2021-10-11 13:41:19 -07:00
2022-06-26 08:56:18 +01:00
2022-07-31 19:19:18 +01:00
2022-08-23 11:38:08 -07:00
2022-07-12 15:32:48 +02:00
2022-08-02 23:08:18 +01:00
2022-07-12 15:32:48 +02:00
2022-06-26 10:30:22 +01:00
2022-08-05 12:12:37 +01:00
2022-06-25 08:16:59 +01:00
2022-07-08 20:55:22 +01:00
2022-07-19 08:11:29 +01:00
2022-08-10 18:56:14 +01:00
2022-07-12 15:32:48 +02:00
2022-06-25 08:16:59 +01:00
2022-08-04 17:53:47 -07:00
2022-08-25 19:33:22 -07:00
2022-04-16 14:52:57 +01:00
2022-04-16 14:52:57 +01:00
2022-06-14 08:48:41 -07:00
2022-06-07 17:33:10 -07:00
2022-06-13 12:24:49 +02:00
2022-08-04 17:53:58 -07:00
2022-07-12 15:32:48 +02:00
2022-08-22 13:30:33 +01:00
2022-08-30 19:54:52 +01:00
2022-06-09 10:32:56 +02:00
2022-07-07 17:48:44 +05:30
2022-05-26 06:26:26 -07:00
2022-06-29 17:16:15 +01:00
2022-08-18 14:12:36 -07:00
2022-03-28 23:17:44 +02:00
2022-07-12 15:32:48 +02:00
2022-07-13 09:29:45 +01:00
2022-06-26 11:36:28 +01:00
2022-07-19 08:11:29 +01:00
2022-09-03 12:54:48 +01:00
2022-09-05 14:34:11 -07:00
2022-08-17 15:17:11 +02:00
2022-08-21 19:59:41 +01:00
2022-06-05 18:16:20 -07:00
2022-08-17 21:53:40 +01:00
2022-07-26 06:26:35 -07:00
2022-06-18 16:27:10 +02:00
2022-06-05 18:16:20 -07:00
2022-07-04 10:29:47 +02:00
2022-09-03 14:03:10 -07:00
2022-07-12 15:32:48 +02:00
2022-07-12 20:15:49 +02:00
2022-07-12 15:32:48 +02:00
2022-06-26 14:00:29 +01:00
2022-07-28 14:20:52 -07:00
2022-06-26 08:56:18 +01:00
2022-04-27 12:42:23 +03:00
2022-09-03 13:26:23 -07:00
2022-09-08 13:41:18 +02:00
2022-08-08 14:25:22 +02:00
2022-08-20 16:34:13 -07:00
2022-06-19 00:43:24 -07:00
2022-09-03 13:25:50 -07:00
2022-07-18 19:02:28 +01:00
2022-06-25 08:15:44 +01:00
2022-08-05 08:55:36 +02:00
2022-08-18 17:47:59 -07:00
2022-04-29 20:53:01 +01:00
2022-06-26 13:56:19 +02:00
2022-07-29 09:24:15 +01:00
2021-10-12 12:30:45 +02:00
2022-07-04 10:29:47 +02:00
2022-04-16 14:52:57 +01:00
2022-07-19 08:23:24 +01:00
2022-07-22 08:10:58 +01:00
2022-07-14 19:27:27 -07:00
2022-07-04 10:29:47 +02:00
2022-06-29 09:54:42 -07:00
2022-08-18 17:48:06 -07:00
2022-08-03 23:08:08 +01:00
2022-07-24 14:51:39 +01:00
2022-09-02 13:02:12 +01:00
2022-08-18 17:48:23 -07:00
2022-09-08 16:51:33 +01:00
2022-07-19 19:15:20 -07:00
2022-03-05 18:38:08 -08:00
2021-10-11 13:41:19 -07:00
2022-08-25 19:34:32 -07:00
2022-07-12 15:32:48 +02:00
2022-05-07 10:35:50 +02:00
2022-08-23 11:26:10 -07:00
2022-06-26 08:56:18 +01:00
2022-08-10 11:48:46 -07:00
2022-07-19 19:15:20 -07:00
2022-08-08 15:58:29 +02:00
2022-06-25 08:09:25 +01:00
2022-06-25 08:09:25 +01:00
2022-07-12 15:32:48 +02:00
2022-06-25 08:15:44 +01:00
2022-08-24 12:30:29 +02:00
2022-09-06 12:28:11 -07:00
2022-08-26 10:23:59 +01:00
2021-11-26 07:07:56 +01:00
2022-08-29 14:44:48 +01:00
2022-07-19 19:15:20 -07:00
2022-07-08 20:42:42 +01:00
2022-09-07 17:00:38 -07:00
2022-04-16 14:52:57 +01:00
2022-07-19 08:23:24 +01:00
2022-07-12 15:32:48 +02:00
2022-06-26 10:45:58 +01:00
2022-07-19 19:15:20 -07:00
2022-07-12 15:32:48 +02:00