Commit Graph

63 Commits

Author SHA1 Message Date
Avasam
e922682603 openpyxl: Reduce false-positives in Worksheet.__getitem__ (#11717) 2024-04-07 06:53:26 -04:00
Avasam
0cea0bc06e openpyxl: Add _WorkbookChild / ReadOnlyWorksheet / Workbook annotations (#11677) 2024-04-01 15:30:20 +02:00
Sebastian Rittau
33de88879f Remove bare Incomplete annotations in third-party stubs (#11671) 2024-03-30 18:34:51 -07:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01: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
Nikita Sobolev
675ab38ab7 Update pyright version to 1.1.350 (#11501)
If you're reading about this commit in an auto-generated changelog: this is an internal change that should have no impact on how these stubs are understood by static-analysis tools such as type checkers or IDEs
2024-02-29 10:14:39 +00:00
Avasam
c75ecf0bca Fix invalid noqa comments and poorly formatted type ignores (#11497) 2024-02-28 22:27:07 -08:00
Jelle Zijlstra
e8c029fbd3 openpyxl: Add stubtest allowlist entry (#11449)
Fixes #11448
2024-02-19 05:37:54 +01:00
Alex Waygood
c49c84f319 A new shade of Black (#11362) 2024-02-04 16:38:55 -08:00
Alex Waygood
ccc81f224d Bump various test dependencies (#11249) 2024-01-05 14:09:02 -08:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Sebastian Rittau
23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +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
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
Alex Waygood
01432805d9 Fix typos in docs and comments (#11064) 2023-11-23 14:55:58 +00:00
Alex Waygood
1d2fe59e88 Third-party stubs: remove unused type: ignores (#11063) 2023-11-23 13:35:45 +00:00
Alex Waygood
516f665505 Bump flake8-pyi to 23.11.0 (#10997) 2023-11-08 16:01:24 +00: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
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
31916d1e0c Remove redundant NoReturn union in openpyxl (#10819) 2023-10-02 11:07:21 +02:00
Avasam
381fc572a8 Complete openpyxl metaclasses (#10736) 2023-09-22 19:45:08 -07:00
Avasam
32535ee895 openpyxl: Typed from_tree methods (#10602) 2023-09-11 16:43:16 +02:00
Martina Oefelein
011b5b9c2c openpyxl: CellRange: title should not be required (#10688)
Fixes #10682
2023-09-10 16:00:49 +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
Akuli
754473a30d Add a few more upstream_repository URLs (#10489) 2023-07-20 17:23:19 +02:00
Avasam
61914253a0 Type openpyxl functions module and its usages (#10322) 2023-07-19 13:29:31 +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
8c582c4459 Complete openpyxl's nested descriptors (#10298) 2023-06-12 16:46:02 +02: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
Alex Waygood
277532219f Remove unnecessary F821 noqas (#10123) 2023-05-01 07:50:00 -07:00
wikiped
03ca80bb61 [openpyxl] Annotate _WorkbookChild.title property (#10043) 2023-04-13 12:18:55 +02:00
Avasam
ccbe46173e Ran stubdefaulter for stubs/openpyxl (#9946) 2023-03-26 21:28:07 +01:00
Alex Waygood
1d6a880a3d openpyxl: add baseline stubs for new modules (#9921) 2023-03-24 12:39:10 +01:00
Sebastian Rittau
c7d805b142 [openpyxl] Annotate Worksheet and other items (#9892)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-23 23:45:00 +00:00