Commit Graph
100 Commits
Author SHA1 Message Date
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
Avasam 49ba409da8 Replace isort with Ruff (#10912) 2023-10-27 20:14:38 -07:00
Avasam e477c67852 Check *_pb2.pyi files again (#10909) 2023-10-23 01:22:55 +01:00
Avasam 21fcd8960f Use Ruff for from __future__ import annotations checks (#10910) 2023-10-19 11:40:41 +02:00
Avasam 3cb1a8faed Configure editors to explicitly use LF / \n line endings (#10916) 2023-10-19 09:34:40 +02:00
Avasam 35873ec3d8 Doc: Use proper name capitalization of tooling (Ruff, Black, Flake8) (#10913) 2023-10-18 23:46:53 +01:00
Avasam f99e8b0615 Bump Pillow to 10.1.* (#10897) 2023-10-16 22:34:45 +01:00
Avasam 5e13bc08e1 openpyxl: Various minor improvements / previous PR fixes (#10896) 2023-10-16 12:05:00 -07:00
Avasam 9c0f4353ef openpyxl: type __iter__ dunders (#10883) 2023-10-16 17:31:39 +01:00
Avasam df05ff2f52 Typed openpyxl colors descriptors (#10882) 2023-10-15 17:49:57 +02:00
Avasam c30c85dfcb Type all @property in openpyxl (#10787) 2023-10-04 11:05:30 +02:00
Avasam 741f751c2e Bump pyasn1 to 0.5.* (#10801) 2023-10-04 10:59:15 +02:00
Avasam 31916d1e0c Remove redundant NoReturn union in openpyxl (#10819) 2023-10-02 11:07:21 +02:00
Avasam 747222469d Bump pyinstaller to 6.0.* (#10800) 2023-09-28 22:30:59 -07:00
Avasam 381fc572a8 Complete openpyxl metaclasses (#10736) 2023-09-22 19:45:08 -07:00
Avasam c782b47aa0 Update pyscreeze methods reusing locateAll (#10741) 2023-09-22 19:42:34 -07:00
Avasam 32535ee895 openpyxl: Typed from_tree methods (#10602) 2023-09-11 16:43:16 +02:00
Avasam 54193d5ddd openpyxl: Class attributes set explicitly as another class' (#10549) 2023-08-15 13:42:58 +02:00
Avasam 6c7be1e066 openpyxl: Make common alias for visibility literal string union (#10562) 2023-08-15 13:33:55 +02:00
Avasam af36a157e5 Complete openpyxl title type annotations (#10563) 2023-08-15 13:17:27 +02:00
Avasam 320a9c37c7 Make openpyxl stubtest-complete (#10570) 2023-08-14 18:24:40 +02:00
Avasam d82a8325fa pywin32: Fix PyNETRESOURCE descriptor members wrongly marked as readonly (#10574) 2023-08-13 23:36:45 +01:00
Avasam 3a376e7eaa Configure Ruff for VSCode (#10572) 2023-08-13 22:31:36 +01:00
AvasamandAlex Waygood 22b055a147 Fill in all missing upstream_repository fields (#10571)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-13 22:03:33 +01:00
Avasam 61914253a0 Type openpyxl functions module and its usages (#10322) 2023-07-19 13:29:31 +02:00
Avasam 93b4060cd4 [PyInstaller] TOCs are not often lists of TOCs (#10366) 2023-06-27 16:36:51 +02:00
Avasam 5af30e8620 Bump pyright to 1.1.315 and fix openpyxl tests (#10356) 2023-06-23 16:35:37 -07:00
Avasam 67fb6c0cab Type openpyxl incomplete dunders (#10313) 2023-06-15 17:38:02 +02:00
Avasam 8624edd3a5 openpyxl: type tagname, namespace and __doc__ ClassVar and params (#10308) 2023-06-14 07:24:44 +02:00
Avasam 8e4595a168 Type all openpyxl constants (#10312) 2023-06-13 09:11:56 +02:00
Avasam d622a2755d Update vscode recommended settings (#10314) 2023-06-13 09:09:19 +02:00
Avasam 8c582c4459 Complete openpyxl's nested descriptors (#10298) 2023-06-12 16:46:02 +02:00
Avasam b5c9d8d677 Don't ignore missing stubs in setuptools (#10058) 2023-05-19 07:03:34 +01:00
Avasam 2d5dafadb7 openpyxl: Type MetaSerialisable dunders (#10170)
Typed `Serialisable.__attrs__`, `Serialisable.__nested__`, `Serialisable.__elements__`, and `Serialisable.__namespaced__` ClassVars.
2023-05-15 13:48:15 +02:00
Avasam db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Avasam dfee77ef6b [openpyxl] Complete base descriptors (#10001) 2023-05-10 08:37:11 +02:00
Avasam a584b43769 [Pillow] Add all missing items (#10114) 2023-05-10 08:34:26 +02:00
Avasam 1caac913ea Add stubdefaulter to create_baseline_stubs.py (#10127) 2023-05-02 11:31:34 +01:00
Avasam 2f9ba99c21 Restore error output in runtests.py (#10110) 2023-04-29 18:17:26 +01:00
Avasam fb4bf034f3 Add fixers to lib2to3 (#10003) 2023-04-27 21:56:56 -07:00
AvasamandAlex Waygood 6cb8bc0ac4 Mark SQLAlchemy stubs with ignore_missing_stub = false (#9653)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-26 17:49:46 -07:00
AvasamandAlex Waygood 4930ebade4 Type PyInstaller.building.api and related modules (#9730)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-26 17:49:30 -07:00
Avasam fd188fa67e keyboard : Update stubtest_allowlist and add comments for missing defaults (#9965) 2023-04-17 13:26:01 +02:00
b0ed50e939 Fix all fixable stubtest_allowlist entries in SQLAlchemy (#9596)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-04-14 15:34:02 -07:00
AvasamandAlex Waygood 08e6e4ced9 Add pyright testcases / regression tests to the runtests script (#10002)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-14 11:11:21 +01:00
Avasam f66769a6f5 Bump Pillow to 9.5.* (#10046)
Release: https://pypi.org/pypi/Pillow/9.5.0
Homepage: https://python-pillow.org
Changelog: https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst
Diff: https://github.com/python-pillow/Pillow/compare/9.4.0...9.5.0
2023-04-13 23:19:33 -07:00
Avasam d00bc529fa Fix a default in pycurl and update apt_dependencies (#9961)
Fix 1 default and update apt dependencies
2023-03-28 20:02:36 -07:00
Avasam 72456da2a3 Add default values for termcolor (#9963) 2023-03-27 22:56:59 +01:00
Avasam 4090282da3 Add default values to JACK-Client (#9964) 2023-03-27 22:55:32 +01:00
Avasam a31a7bc030 Ran stubdefaulter for hdbcli (#9962) 2023-03-27 14:54:53 -07:00
Avasam 24db0692c6 Add more default values to python-xlib (#9960) 2023-03-27 19:47:55 +01:00
Avasam ccbe46173e Ran stubdefaulter for stubs/openpyxl (#9946) 2023-03-26 21:28:07 +01:00
Avasam e5bab38a28 Bump pywin32 to 306.* (#9945)
Release: https://pypi.org/pypi/pywin32/306
Homepage: https://github.com/mhammond/pywin32
2023-03-26 18:58:35 +01:00
AvasamandAlex Waygood 2e59b81ffd Use of twisted in pika (#9494)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-24 22:51:59 -06:00
AvasamandAlex Waygood d8e3f928b0 Add defaults for params and constants in python-xlib (#9642)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-22 20:39:04 +00:00
Avasam a5fc97e6da Fix misnamed parameter in stubtest_third_party (#9716) 2023-03-09 07:33:45 +00:00
Avasam 14b06ae672 pytype_test.py: Fix typechecking errors following #9747 (#9849) 2023-03-06 18:23:07 +00:00
AvasamandAlex Waygood 635493a8f6 Update pkg_resources-stubs for use in pytype_test (#9747)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-05 16:24:57 -08:00
Avasam 21c9ac5df6 Enable running stubtest on more of types-pika (#9826)
Make aliases for non-imported dependency private
2023-02-28 00:41:31 +00:00
Avasam fee5f1b765 Remove most of setuptools._distutils (#9795) 2023-02-26 10:49:24 +00:00
Avasam 52ec44fa58 Improve many __(a)exit__ annotations (#9696) 2023-02-25 21:50:30 +00:00
75f47d0cb1 Typecheck typeshed's code with pyright (#9793)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-02-22 18:53:07 +00:00
Avasam 078c6a0958 Update Unused parameters in stubs/ (#9704)
* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Avasam 5ac80781ec Integrate requirements-stubtest.txt into METADATA.toml (#9778) 2023-02-21 11:19:50 +01:00
Avasam a6c6bc1b8e Fix stdlib/disutils testing (#9734) 2023-02-21 08:06:20 +00:00
Avasam 040103a74e Add missing symbols to tabulate (#9781) 2023-02-20 23:57:10 +00:00
Avasam 41d7ddb5fe Bump pytype to 2023.2.17 (#9782) 2023-02-20 22:41:25 +00:00
Avasam ed6748fb32 Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
AvasamandAlex Waygood 74112dc189 Add a run_stubtest flag to scripts/runtests.py (#9717)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-02-19 22:10:32 +00:00
Avasam 3fc2f27990 Add missing types in xml.dom.minidom (#9731) 2023-02-19 21:49:00 +00:00
Avasam d92332d120 Type Loader parameter in PyYAML/yaml (#9752) 2023-02-19 19:22:14 +00:00
Avasam 50acb57cda Ignore flake8 extensions stubbed by typeshed (#9715) 2023-02-19 12:42:03 +00:00
Avasam 1db405b15c stubsabot: minor refactoring (#9754) 2023-02-18 14:25:04 -08:00
Avasam 140bba3425 Add comments when subclassing Any (#9732) 2023-02-14 14:11:56 +01:00
Avasam 965b3108fe Further improve and simplify pyright configuration (#9714) 2023-02-12 22:42:23 +01:00
Avasam a768744d51 Type and mark as final module-level dunders not meant to be overwritten in stdlib/ (#9709) 2023-02-12 16:15:20 +00:00
Avasam 95789d20b2 Bump pyinstaller to 5.8.* (#9721)
Release: https://pypi.org/pypi/pyinstaller/5.8.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.7.0...v5.8.0
2023-02-11 18:00:16 -08:00
Avasam 2930f8c6f0 Set HOMEBREW_NO_INSTALL_CLEANUP to speedup brew installs (#9713) 2023-02-11 11:20:20 -08:00
Avasam 10086c06a1 Fix Any subclassing in fpdf2 (#9536) 2023-02-09 09:39:40 +01:00
Avasam 372073d35b Use _typeshed.FileDescriptorOrPath in stubs (#9695) 2023-02-09 08:30:19 +01:00
Avasam 29d9aa9b28 Complete stubtest and fix Any subclassing in tqdm (#9525) 2023-02-07 00:15:44 +00:00