Commit Graph
100 Commits
Author SHA1 Message Date
Avasam c11fc20651 Small fix for pkg_resources StrPath (#12015) 2024-05-23 09:13:53 -07:00
Avasam 50cbca413c Make shutil.rmtree.onexc parameter optional (#12002) 2024-05-22 22:41:25 +02:00
Avasam 06efe457d4 Bump setuptools to 70.0 (#11994) 2024-05-22 17:21:17 +02:00
AvasamandJelle Zijlstra a375953f63 distutils & setuptools: Relax path related params (#11948)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-20 23:41:20 -04:00
Avasam 1230ced066 runtests: Run pre-commit only on specified files (#11949) 2024-05-18 09:07:42 -04:00
Avasam 003361c006 Make distutils.dist.Distribution.get_command_obj not return None by default (#11950) 2024-05-18 11:38:48 +02:00
Avasam 3e0269bc6c distutils & setuptools: Complete sub_commands ClassVar typing (#11951) 2024-05-18 11:36:49 +02:00
Avasam c99adf4b85 distutils: improve boolean parameters with int defaults (#11928) 2024-05-17 08:33:18 +02:00
Avasam ef42294f92 Avoid using new _typeshed protocol in pkg_resources for now (#11909) 2024-05-12 16:19:58 -04:00
Avasam bdf75023df openpyxl: Use duck typing for workbook sheets (#11718) 2024-04-27 15:16:22 +02:00
Avasam 7858e6058b Bump waitress to 3.0.* (#11803) 2024-04-22 17:24:08 +02:00
Avasam b3bfdadb45 Bump tensorflow to 2.16.* (#11696) 2024-04-22 16:37:33 +02:00
Avasam b3bfbefa7f Create script to generate s2clientprotocol protobuf stubs (#11772)
Regenerate using mypy-protobuf 3.6
2024-04-22 15:05:21 +02:00
Avasam 0deaca4862 Bump boltons to 24.0.* (#11804) 2024-04-22 15:03:38 +02:00
Avasam ae5c45b983 Bump docutils to 0.21.* (#11805) 2024-04-22 14:58:21 +02:00
Avasam 1017c525f8 Simplify protoc install in protobuf generation scripts (#11785) 2024-04-21 19:33:31 +02:00
Avasam 425db9c122 waitress: stubtest-complete and update usage of Any (#11796) 2024-04-20 14:34:40 +02:00
Avasam 4095e0bada Bump pycurl to 7.45.3, update platform tests (#11792) 2024-04-20 14:29:30 +02:00
Avasam ffdef2f2ea Bump editdistance to 0.8.* (#11795) 2024-04-20 14:28:39 +02:00
Avasam ce049d505f Bump protobuf to 5.26.* (#11784)
Also update generate_proto_stubs script
2024-04-19 09:01:50 +02:00
Avasam 51d6ecfbbe Bump dateparser to 1.2.* (#11786) 2024-04-19 08:58:09 +02:00
Avasam 48a845e070 Bump peewee to 3.17.3 and fix stubtest entries (#11787) 2024-04-19 08:52:39 +02:00
Avasam d26f125160 Move Ruff unsafe-fixes from pre-commit to config (#11783) 2024-04-18 18:44:51 +01:00
Avasam 12b9e48324 Update Ruff and enable F821 in stubs (#11771) 2024-04-17 09:50:58 -07:00
Avasam b9fd082cf7 Bump pyinstaller to 6.6.* (#11764) 2024-04-14 19:33:06 +02:00
Avasam fe02cba606 Bump mypy-protobuf in sync_tensorflow script and improve generation scripts (#11740) 2024-04-10 09:12:07 -04:00
AvasamandJelle Zijlstra 1af2babc03 Allow bytes in winreg.SetValueEx (#11655)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-04-09 21:25:19 -04:00
Avasam 144ac0a1a8 Bump protobuf to v25.3 (#11694) 2024-04-09 20:55:27 +02:00
AvasamandAlex Waygood a1c7926e62 Re-order ruff runs in pre-commit (#11737)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-09 19:07:12 +01:00
Avasam dc4bfc02ef Update vscode editor.codeActionsOnSave.source.* settings (#11735) 2024-04-09 09:06:46 +02:00
Avasam 26c218818b pywin32: Improve SHGetPropertyStoreFromParsingName type definition (#11654)
Improve SHGetPropertyStoreFromParsingName type definition
2024-04-07 07:18:19 -04:00
Avasam 2135c8ced8 Bump protobuf to v24.4 and update generator script (#11693) 2024-04-07 06:57:40 -04:00
Avasam e922682603 openpyxl: Reduce false-positives in Worksheet.__getitem__ (#11717) 2024-04-07 06:53:26 -04:00
Avasam 79ce732c78 braintree: Cleanup overzealous reexports from non __init__ modules (#11692) 2024-04-01 17:33:35 +02:00
Avasam 28fe4cc4ad braintree: Use Final for string constants (#11680) 2024-04-01 16:58:14 +02:00
Avasam 04d41675ef python-xlib: use _typeshed.Unused (#11691) 2024-04-01 15:31:32 +01:00
Avasam 48d0234508 braintree: Replace usages of Any (#11679) 2024-04-01 16:27:35 +02:00
Avasam 0cea0bc06e openpyxl: Add _WorkbookChild / ReadOnlyWorksheet / Workbook annotations (#11677) 2024-04-01 15:30:20 +02:00
Avasam ccc47c0558 stubtest-complete & Bump braintree to 4.28.* (#11678) 2024-04-01 15:20:45 +02:00
Avasam d72a34a69a Bump pyasn1 to 0.6.* (#11681) 2024-04-01 09:49:37 +01:00
Avasam 6cb57b5f26 traceback: Allow extracted_list params to be an Iterable containing tuples (#11675) 2024-03-30 18:32:27 -07:00
Avasam f36714b0fb Various pywin32 improvements (#11616) 2024-03-30 19:55:30 +01:00
Avasam 57dee8fd5b Improved pywin32 error and exception classes (#11613) 2024-03-18 14:17:30 -06:00
Avasam ff7caa30e2 setuptools&distutils: setup returns a Distribution (#11617)
`setup` returns a `Distribution`
2024-03-16 12:06:37 +00:00
Avasam 8e2ce00623 Bump setuptools to 69.2.* (#11603) 2024-03-14 22:04:34 -07:00
Avasam dea4dd1dc1 pywin32: Correctly reference TimeType aka pywintypes.datetime (#11577)
* Correctly reference TimeType

* PyUnicode is UnicodeType
2024-03-11 22:42:51 -07:00
AvasamandJelle Zijlstra 579d208b19 Add deprecation decorator and comments for pywin32 (#11570)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-11 12:36:44 -07:00
Avasam 354ecd084f Bump pyinstaller to 6.5.* (#11563) 2024-03-10 16:32:56 +00:00
AvasamandAlex Waygood 1a942aa36d Replace Flake8 checks with Ruff (except for flake8-pyi) (#11496)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-10 14:35:45 +00:00
Avasam 63737acac6 pkg_resources: Make _InstallerType stricter and generic (#11527) 2024-03-09 14:37:10 -08:00
Avasam c35b3bce4e Use strict pyright configs for pkg_resources (#11538) 2024-03-08 17:35:56 +01:00
Avasam af84d2fbfe pkg_resources: Updates from upstream typing merge (#11455) 2024-03-08 15:23:55 +01:00
Avasam 52daae514a pkg_resources: Remove stray Anys and use more Self & NoReturn types (#11528) 2024-03-07 18:11:11 -08:00
Avasam 82fd9e8453 openpyxl: Simpler leftover changes from the microsoft/python-type-stubs merge (#11534) 2024-03-07 18:04:08 -08:00
Avasam 7c29ee3d8a Add @deprecated decorator to openpyxl (#11535) 2024-03-07 18:03:47 -08:00
Avasam 9e5bced2d1 pkg_resources: Remove type-only _Importer class (#11512) 2024-03-01 08:58:17 -08:00
Avasam 696333c28a pkg_resources: Types from assignments and aliases (#11511) 2024-03-01 08:48:32 -08:00
AvasamandAlex Waygood 88238202d7 Add pyupgrade check outdated-version-block (UP036) (#11509)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-01 07:15:53 -08:00
Avasam 2116158891 Remove old type-ignore explanation comments not removed in #8280 (#11513) 2024-03-01 07:10:10 -08:00
Avasam 185ef486ae Override pkg_resources.ZipProvider.loader type (#11514) 2024-03-01 07:09:51 -08:00
AvasamandAlex Waygood 26e8c0002f Enable nearly all pyupgrade rules (except on test cases) (#11499)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-29 18:33:40 +00:00
AvasamandAlex Waygood 5cb2fe97a6 Replace flake8-bugbear with Ruff (#11500)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-29 18:20:31 +00:00
Avasam 3a06fc7c1a setuptools & pkg_resources: Complete VendorImporter class (#11495) 2024-02-28 22:48:26 -08:00
Avasam 5a9033720d pkg_resources: don't ignore "missing symbol from stub" in stubtest (#11494) 2024-02-28 22:31:19 -08:00
Avasam da69247514 Code improvements from new Ruff checks (#11498) 2024-02-28 22:30:18 -08:00
Avasam c75ecf0bca Fix invalid noqa comments and poorly formatted type ignores (#11497) 2024-02-28 22:27:07 -08:00
Avasam 5e9589dd75 pkg_resources: Reorder names to be closer to implementation (#11493) 2024-02-28 17:20:21 -08:00
Avasam 3c08a97656 Improve typing of sysconfig.get_config_var(s) (#11454) 2024-02-22 09:52:41 -08:00
Avasam bb6613f379 shlex.split: allow TextIO and deprecate None (#11451) 2024-02-19 06:10:01 +01:00
Avasam 48a0497b23 Bump setuptools to 69.1.* (#11423) 2024-02-14 19:58:21 +01:00
Avasam 489e8309b5 Type obj parameter of PIL.Image.fromarray (#11176) 2024-02-05 05:42:52 -08:00
Avasam faf9d77d79 Bump networkx to 3.2.1 (#11336) 2024-01-31 07:30:20 +01:00
Avasam 81070c4dbc posixpath.commonpath supports Iterable parameter (#11310) 2024-01-29 13:13:34 +01:00
Avasam 5785712eff pywin32: Remove reference to stubgen dll analysis issue (#11323) 2024-01-29 12:06:56 +01:00
Avasam 0b8841edd8 pywin32: Use PEP 570 positional-only argument syntax and fix arguments (#11321) 2024-01-27 12:27:05 +01:00
Avasam 7c2d0f1a50 Update mypy issue reference to duplicated original issue (#11320)
See https://github.com/python/mypy/issues/13975#issuecomment-1912484800
2024-01-26 12:18:42 -08:00
Avasam cf6bafbaf2 override http.HTTPMessage methods to only use str for the header type (#11114) 2023-12-19 08:37:57 +01:00
Avasam 91b35bb5f5 Review SupportsInt and SupportsFloat usages in 3rd-party stubs (#11003) 2023-12-18 14:14:37 +01:00
Avasam 9d8188c96d Document "the Any trick" (#11117) 2023-12-18 13:56:22 +01:00
Avasam 96526875f7 pywin32 annotations improvements (#11177) 2023-12-18 13:33:56 +01:00
Avasam d3bf2805b4 Bump pyinstaller to 6.3.* (#11175) 2023-12-17 13:47:29 -08:00
AvasamandAlex Waygood c390c70d2a email.message.Message: Improve payload methods and Explain why __getitem__ isn't typed to return None (#11095)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-12-14 18:28:15 -05:00
Avasam e76e6811e1 Fix pywin32's PyCBitmap.GetBitmapBits method (#11108) 2023-12-07 05:40:00 -05:00
Avasam c8a81997ab Bump pyright to 1.1.339 (#11084) 2023-12-06 22:40:06 +00:00
Avasam 4246c54a12 psycopg2: improve cursor_factory params (#11085) 2023-12-06 14:29:23 -08:00
Avasam b5511ca648 Go back to default for useLibraryCodeForTypes & delete removed vscode-python configs. (#11101) 2023-12-05 13:24:18 +01:00
Avasam 23b0291176 openpyxl: Type styleable descriptors (#11103) 2023-12-05 10:41:41 +01:00
Avasam 5521da8e92 Openpyxl: Various improvements (#11092) 2023-12-04 21:54:45 +01:00
Avasam 5f12eebda4 openpyxl: type to_tree methods (#10967) 2023-12-01 13:13:16 +01:00
Avasam d5685789cc Bump boltons to 23.1.* (#11083) 2023-11-29 16:05:44 +00:00
Avasam 4687faab8e Use ConvertibleToInt/ConvertibleToFloat in many third-party stubs (#11022)
Note: this may make the latest version of certain stubs packages incompatible with older versions of mypy and pyright.
2023-11-29 11:23:00 +00:00
Avasam e109588be0 Complete seaborn stubs and mark as strict (#10974) 2023-11-15 12:58:27 +01:00
Avasam 7754c63f14 Bump PyScreeze to 0.1.30 (#11025) 2023-11-13 10:37:36 +00:00
Avasam df623b85d8 Bump pyinstaller to 6.2.* (#11023) 2023-11-12 22:46:10 +00:00
Avasam 1582e4833a Update PyInstaller.building.api.EXE.__init__ (#11024) 2023-11-12 18:59:34 +00:00
Avasam b8932899ea Complete Flask-Migrate and mark as Strict (#10971) 2023-11-09 17:48:57 +01:00
Avasam 3a56e0034c xml.etree: Fix tag param in __init__ (#10968) 2023-11-03 14:50:49 +01:00
Avasam 6a2528e6dc openpyxl TypeGuards and comparison dunders (#10962) 2023-11-02 18:17:47 +01:00
Avasam 105bb0a060 openpyxl: Type usages of PIL and zipfile (#10706) 2023-11-02 15:28:41 +01:00
AvasamandJelle Zijlstra f85c2f4ae1 Type pywin32's win32.win32print.StartDocPrinter method (#10898)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-28 08:48:05 -07:00