Commit Graph
100 Commits
Author SHA1 Message Date
Alex Waygood dabb619031 Use stricter pyright settings when checking ephem in CI (#15288) 2026-01-15 16:44:42 +00:00
Alex Waygood a4eeb5c05b Make self and cls positional-only in dict constructor methods (#15262) 2026-01-11 19:21:07 +01:00
Alex Waygood 5c8b7fcbbe Use stricter pyright config settings for all of pytz (#15014) 2025-11-11 13:38:47 +00:00
Alex Waygood eca15d9654 Put all mypy_test.py version parsing in mypy_test.py (#14974) 2025-11-03 15:30:38 -05:00
Alex Waygood 11c7821a79 Fix stdlib stubtest flakes (#14886) 2025-10-15 18:42:05 +01:00
Alex Waygood 6547ec10b8 Pin Jetson.GPIO to 2.1.11 (#14814) 2025-10-01 11:02:28 +01:00
Alex Waygood c7d0fd95f3 Make (Async)GeneratorType type parameters consistent with (Async)Generator type parameters (#14789)
Currently `Generator` is generic over three type variables that have defaults, but `GeneratorType` is generic over three type variables that do not have defaults. It seems like it probably makes more sense for them to be consistent? The vast majority of real-world `Generator`s are instances of `GeneratorType`
2025-09-27 08:48:19 -07:00
Alex Waygood def5a2825f Use stricter pyright settings for gunicorn (#14771) 2025-09-23 15:12:30 +01:00
Alex Waygood 7c8dce0a78 Use stricter pyright settings for xmltodict (#14763) 2025-09-22 14:16:57 +01:00
Alex Waygood cc0ce1e500 Revert "Byestring removal for 3.14 (#12490)" (#14743) 2025-09-19 09:09:22 +02:00
Alex Waygood 8a56044cd6 Loosen Mapping.update() overloads a little (#14593) 2025-08-19 11:54:03 -07:00
Alex Waygood 28758d2e7d Fully annotate yt-dlp (#14481) 2025-07-27 19:06:41 +02:00
Alex Waygood ae1b471e5b Remove redundant version_info branches (#14434) 2025-07-20 23:56:22 +01:00
Alex Waygood 8c36a53e44 Use stricter pyright settings when testing channels (#14404) 2025-07-12 15:46:13 +01:00
Alex Waygood 40c26877c7 Use stricter pyright settings for all of click-web (#14379) 2025-07-08 11:04:51 +01:00
Alex Waygood ca3f84150d Use stricter pyright settings for two more tkinter files (#14356) 2025-07-01 10:43:23 +01:00
Alex Waygood 9f18c2c1c5 Revert "Remove corus stubs" (#14158) 2025-05-26 20:00:33 +01:00
Alex Waygood c724377f1a Bump flake8-pyi to 25.5.0 (#14140) 2025-05-25 19:16:39 +01:00
Alex Waygood 30c4307ce6 remove outdated comment from types.pyi (#13788) 2025-04-03 12:12:12 +01:00
Alex Waygood d92a6449c2 Remove more Python 3.8 cruft (#13787) 2025-04-03 11:56:38 +01:00
Alex Waygood 5b6d2c93aa Disable Python version updates for actions/setup-python from Renovate (#13758) 2025-04-01 13:19:47 +02:00
Alex Waygood e4a8707e9c Use Stricter pyright settings in CI for watchpoints (#13577)
The stubs are fully annotated. Fixes https://github.com/AlexWaygood/typeshed-stats/issues/323
2025-03-04 09:31:12 +01:00
Alex Waygood 4b2bed8f5f Use stricter pyright settings on dirhash in CI (#13558) 2025-02-28 09:56:19 +00:00
Alex Waygood db7dbfe6cf Use stricter pyright settings when testing hnswlib in CI (#13552) 2025-02-27 12:44:40 +00:00
Alex Waygood 73ebb9dfd7 Bump mypy to 1.15.0 (#13473) 2025-02-07 11:21:40 -08:00
Alex Waygood 94ac7c44d2 Fix stubtest for dateparser (#13474) 2025-02-07 11:20:51 -08:00
Alex Waygood 5caaf2e1fb Fix stdlib stubtest for latest Python patch releases (#13464) 2025-02-05 23:33:27 +00:00
Alex Waygood c193cd2a36 Upgrade Black and Ruff (#13443) 2025-01-29 22:47:58 +00:00
Alex Waygood 0023f5a169 Run the "typecheck our own code" workflow on PRs touching the lib/ directory (#13394) 2025-01-11 12:56:01 +00:00
Alex Waygood 0d4dd20b97 gevent: remove unused allowlist entry (#13301)
Fixes #13300
2024-12-24 17:24:33 -08:00
Alex Waygood e5804cebab Revert "Remove unnecessary pyright supressions" (#13299)
Revert "Remove unnecessary pyright supressions (#13287)"

This reverts commit 445858c565.
2024-12-25 00:54:56 +00:00
Alex Waygood bba068c8a1 pin ibm-db to 3.2.3 (#13233) 2024-12-12 01:10:20 +00:00
Alex Waygood 90e6bd9aca Pin keras to 3.6.* when stubtesting tensorflow (#13137) 2024-11-27 08:50:23 -08:00
Alex Waygood 764d71739b Remove unused allowlist entry (#13107) 2024-11-25 16:53:14 +00:00
Alex Waygood 7eea986ef6 Remove unnecessary environment markers (#13096)
These libraries have both released versions that claim to support Python 3.13 now.
2024-11-25 12:42:45 +01:00
Alex Waygood 6d21e34d78 Improve the definition of os._ScandirIterator (#13013) 2024-11-15 21:33:32 +00:00
Alex Waygood 01e7e80bc7 Add types.ModuleType.__doc__ (#12918) 2024-10-29 07:09:47 -07:00
Alex Waygoodandpre-commit-ci[bot] 9ed47fa8ec Fix linting issues (#12898)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-24 14:26:37 +01:00
Alex Waygood c9d3ca6f48 Touchups to tests/REGRESSION.md (#12826) 2024-10-17 00:43:39 +02:00
Alex Waygood 8cb6df0201 Bump flake8-pyi to 24.9.0 (#12739) 2024-10-05 19:16:05 +01:00
Alex Waygood ad96829bfa Remove linters from requirements-tests.txt (#12725) 2024-10-05 14:37:27 +01:00
Alex Waygood 45f96fe343 Move multiprocessing test-case file to the right place (#12727) 2024-10-02 16:36:24 +01:00
Alex Waygood 061f562935 gevent: remove unused allowlist entry (#12726) 2024-10-02 16:28:06 +01:00
Alex Waygood 9f033bf439 Fixup some pyright CI configuration details (#12690) 2024-09-23 13:07:57 -07:00
Alex Waygood 6d68b57d74 Pin croniter to 2.0.5 (#12356) 2024-07-17 01:47:08 +01:00
Alex Waygood 16341c749a Fix stubtest for shapely (#12339)
Fixes #12338
2024-07-13 17:56:29 -07:00
Alex Waygood 95176bde5f Pin pygit2 to 1.15.0 (#12293)
Fixes #12292
2024-07-08 01:46:49 +01:00
Alex Waygood 0c3514d036 Sort VERSIONS alphabetically (#12133) 2024-06-12 16:03:32 +02:00
Alex Waygood 3ab03deec3 Upgrade to latest 3.12 and 3.13 versions for stubtest (#12131) 2024-06-12 05:16:39 -06:00
Alex Waygood 9197ace5ec Bump flake8-pyi to 24.6.0 (#12132) 2024-06-12 11:46:23 +01:00
Alex Waygood 58f2a795ba Pin to older micro versions of Python for stdlib stubtest (#12124) 2024-06-10 11:53:09 +01:00
Alex Waygood 0c45de1c26 Ensure stubtest gets an older version of webcolors when testing jsonschema in CI (#12115) 2024-06-08 22:43:59 -06:00
Alex Waygood 7fc9d65ee2 Fix false positives from @deprecated for shutil.rmtree (#12116) 2024-06-08 21:27:26 +02:00
Alex Waygood 7e7ffdfd7e pin openpyxl to 3.1.2 (#12072)
helps with #12059
2024-05-31 09:54:06 -07:00
Alex Waygood de0fc0afb8 traceback: py313 updates (#12032) 2024-05-27 12:56:44 +01:00
Alex Waygood fc33ba67ba builtins: updates for py313 (#12028) 2024-05-24 15:27:15 -04:00
Alex Waygood 966fbfb300 py313: Consolidate _pyrepl allowlist entries (#12031) 2024-05-24 12:24:20 -07:00
Alex Waygood 2985ef414c typing(_extensions) updates for py313 (#12030) 2024-05-24 15:16:15 -04:00
Alex Waygood 0152a6c134 Add __class_getitem__ methods new in py313 (#12029) 2024-05-24 12:11:22 -07:00
Alex Waygood ac6c61ba04 Stubtest stdlib: unpin 3.11 and 3.12 micro versions (#12022) 2024-05-23 13:24:28 -07:00
Alex Waygood ffa0327845 Use macos-12 for stdlib stubtest in CI (#12021) 2024-05-23 15:36:20 -04:00
Alex Waygood dccc4e1f07 Run stubtest on py313 with macos and Windows in CI (#12020) 2024-05-23 14:55:15 -04:00
Alex Waygood 4bc70e1e4d Use mypy from git for stdlib stubtest (#12016) 2024-05-23 13:08:18 -04:00
Alex Waygood 909b91ef94 Remove language_version from black hook in .pre-commit-config.yaml (#12009) 2024-05-23 10:18:13 -04:00
Alex Waygood 88c7f96d25 Run stubtest on py313 in CI (#11987) 2024-05-20 15:56:41 -04:00
Alex Waygood b8d144d491 Add 3.13 to our CI (#11926) 2024-05-19 16:18:49 -04:00
Alex Waygood 347f8a96b5 regr_test.py: improve several concurrency details (#11984) 2024-05-19 14:21:26 -04:00
Alex Waygood 240114ac1a More PEP-696 updates to typing(_extensions) stubs (#11925) 2024-05-16 22:05:45 -04:00
Alex Waygood 5b0816e784 Fix stdlib stubtest after latest typing-extensions release (#11923) 2024-05-16 16:53:19 -04:00
Alex Waygood 77d6947479 Use stricter pyright settings in CI for assertpy (#11920) 2024-05-15 21:21:47 -04:00
Alex Waygood 7bfde5b676 Pin pynput more tightly (#11897)
Fixes  #11896
2024-05-11 01:40:48 +01:00
Alex Waygood 294f237f05 Use stricter pyright settings for checking flake8 stubs in CI (#11893) 2024-05-10 20:01:31 +01:00
Alex Waygood 2db0b6e655 Fix stubtest for TensorFlow with latest keras release (#11838) 2024-04-27 09:42:34 +01:00
Alex Waygood d0f2be92ab Bump pyright to v1.1.360 (#11810) 2024-04-24 14:09:16 +02:00
Alex Waygood c13f6e166d Fix stubtest errors in tensorflow with keras>=3.3.2 (#11817) 2024-04-23 13:26:02 +02:00
Alex Waygood 1a86b3b3fe stubtest_third_party.py, mypy_test.py: just print everything to stdout (#11809) 2024-04-22 11:50:47 +01:00
Alex Waygood e974246714 croniter: add new encoding parameter to is_valid (#11808) 2024-04-22 11:31:04 +01:00
Alex Waygood 4872c30a98 Fix divider lines in stubtest_third_party.py (#11799) 2024-04-20 17:10:28 -07:00
Alex Waygood 57f3dcac8d Bump flake8-pyi to 24.4.1 (#11791) 2024-04-19 10:07:56 -07:00
Alex Waygood ade9412f85 Minor improvements to renovate config (#11790) 2024-04-19 17:54:18 +01:00
Alex Waygood 7c8e82fe48 Improve the output of tests/stubtest_third_party.py when it fails (#11763) 2024-04-14 23:23:25 +01:00
Alex Waygood 6883b80f52 Bump flake8-pyi to 24.4.0 (#11745) 2024-04-11 13:05:46 +01:00
Alex Waygood 130a04905c Use Python 3.11.8 for stdlib stubtest for now (#11716) 2024-04-04 12:46:45 +01:00
Alex Waygood d698cb70eb requests: remove a type: ignore (#11704) 2024-04-02 14:30:35 +01:00
Alex Waygood e3350f30f9 Remove several stdlib files from the ignorelist for the stricter pyright settings (#11702) 2024-04-02 09:52:00 +01:00
Alex WaygoodandSebastian Rittau b0218af146 Fix pyright CI job (#11689)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2024-04-01 14:17:31 +01:00
Alex WaygoodandShantanu 5c75292f26 stubsabot: Skip over empty __init__.py files when determining if all Python files are covered by py.typed markers (#11634)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-03-20 20:54:47 +00:00
Alex Waygood 7acaa912b0 Mark types-paho-mqtt as obsolete since v2.0.0 (#11635) 2024-03-20 12:43:14 +01:00
Alex Waygood d436110d13 Add distutils as a top-level package included with types-setuptools (#10948) 2024-03-16 16:44:47 +00:00
Alex Waygood 2334b06abf Go back to using py311 for regr-test.py for now (#11604) 2024-03-15 11:55:13 +01:00
Alex WaygoodandSebastian Rittau 0f4a2dfec4 pin uv to 0.1.18 (#11598)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2024-03-14 11:46:03 +00:00
Alex Waygood 7894b095eb Renovate config: give the dependency groups better names (#11589) 2024-03-13 10:49:27 +00:00
Alex Waygood 382c046e9b fix renovate config (#11587) 2024-03-13 10:38:15 +00:00
Alex Waygood c3f363ce33 Use stricter pyright settings for pygit2 (#11585) 2024-03-13 10:30:46 +00:00
Alex Waygood 405494891c Setup renovate for updating dependencies (#11565) 2024-03-13 10:27:03 +00:00
Alex Waygood 8a9dcb1967 Make stubtest work on pyscreeze if you're using py312 (#11582) 2024-03-12 23:04:57 +01:00
Alex Waygood 3802899a01 Bump google-cloud-ndb to 2.3.* (#11566) 2024-03-11 00:22:14 +01:00
Alex Waygood 24d39de94b Use Python 3.11 for third-party stubtest in CI (#11562) 2024-03-10 08:01:38 -07:00
Alex Waygood 55205a4ce6 Make stubtest pass on libsass/passlib/redis/tree-sitter if you're using Python 3.12 (#11561) 2024-03-10 14:16:34 +00:00
Alex Waygood e085a00a8e Bump flake8-pyi to 24.3.0 (#11560) 2024-03-10 14:03:13 +00:00