Commit Graph

79 Commits

Author SHA1 Message Date
Preethi
51d0f0194c Support Writeable Zipfile on workbook.save (#13009) 2024-11-13 16:45:49 +01:00
Alex Waygood
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
Sebastian Rittau
ebdd2c528d Update mypy to 1.12.0 (#12859) 2024-10-19 16:45:38 +01:00
Alexander Zinov
0015ce8855 openpyxl: fix Worksheet.values annotation (#12674) 2024-09-17 17:14:06 +02:00
Avasam
3719f02dbf Using precise code for pyright: ignore and re-enabling various pyright tests (#12576) 2024-08-22 03:34:52 +02:00
Avasam
937270df0c Forbid extremely long line lengths in non-autogenerated stubs (#12537)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-08-18 16:03:34 -04:00
sobolevn
6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Noam
cc7c950381 Openpyxl fixes for worksheet and image. (#12363) 2024-07-18 16:41:45 +02:00
Noam
6b919d76e2 Add dimensions for openpyxl Image. (#12362) 2024-07-18 12:28:39 +02:00
sobolevn
9fcaf3fe31 Bump openpyxl to 3.1.5 (#12238) 2024-06-29 22:10:14 +02:00
InSync
58fe83109c Copy openpyxl's Worksheet.__getitem__() and .__iter__() to ReadOnlyWorksheet (#12202) 2024-06-25 12:30:10 +02:00
Sebastian Rittau
704fa5d1de [openpyxl] Update to 3.1.4 (#12142)
Also make sequence types generic
2024-06-20 11:29:14 +02:00
Sebastian Rittau
5c65b12591 [openpyxl] Fix key of Worksheet.row_dimensions (#12143)
Closes: #11845
2024-06-20 00:23:38 -07:00
Alex Waygood
7e7ffdfd7e pin openpyxl to 3.1.2 (#12072)
helps with #12059
2024-05-31 09:54:06 -07:00
Avasam
bdf75023df openpyxl: Use duck typing for workbook sheets (#11718) 2024-04-27 15:16:22 +02:00
Alex Waygood
d0f2be92ab Bump pyright to v1.1.360 (#11810) 2024-04-24 14:09:16 +02:00
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