Commit Graph

17 Commits

Author SHA1 Message Date
Avasam
0cea0bc06e openpyxl: Add _WorkbookChild / ReadOnlyWorksheet / Workbook annotations (#11677) 2024-04-01 15:30:20 +02: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
Jelle Zijlstra
e8c029fbd3 openpyxl: Add stubtest allowlist entry (#11449)
Fixes #11448
2024-02-19 05:37:54 +01:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +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
105bb0a060 openpyxl: Type usages of PIL and zipfile (#10706) 2023-11-02 15:28:41 +01:00
Avasam
df05ff2f52 Typed openpyxl colors descriptors (#10882) 2023-10-15 17:49:57 +02:00
Avasam
320a9c37c7 Make openpyxl stubtest-complete (#10570) 2023-08-14 18:24:40 +02:00
Avasam
61914253a0 Type openpyxl functions module and its usages (#10322) 2023-07-19 13:29:31 +02:00
Avasam
8624edd3a5 openpyxl: type tagname, namespace and __doc__ ClassVar and params (#10308) 2023-06-14 07:24:44 +02:00
Avasam
8c582c4459 Complete openpyxl's nested descriptors (#10298) 2023-06-12 16:46:02 +02:00
Avasam
dfee77ef6b [openpyxl] Complete base descriptors (#10001) 2023-05-10 08:37:11 +02: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
Sebastian Rittau
8877c12cdf [openpyxl] Update to 3.1, add more annotations (#9875)
Closes: #9644
2023-03-15 00:50:16 -07:00
Alex Waygood
a4e3cfefac Improve pre-commit config (#9563)
- Add a few more hooks. These are all very fast, and I've found them useful in other projects:
  - Autofixes:
    - `trailing-whitespace`: fixes trailing whitespace
    - `requirements-txt-fixer`: alphabetises items in `requirements.txt` files
    - `end-of-file-fixer`: makes sure every file ends with a single newline character
    - `mixed-line-ending`: Makes sure Windows users don't accidentally introduce CRLF line endings into a file that uses LF line endings
  - None-autofixes:
    - `check-yaml`: loads YAML files to validate syntax
    - `check-toml`: loads TOML files to validate syntax
    - `check-merge-conflict`: detects merge-conflict strings in files and blocks them from accidentally being committed
    - `check-case-conflict`: checks for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT; blocks them from being committed.
  - Change the bot schedule to quarterly, to reduce noisy PRs
  - Change the `black` language target-version to Python 3.10, synching the setting here with the changes that were made to our `pyproject.toml` file in #7538
2023-01-18 06:29:18 -08:00
Sebastian Rittau
7e5d2a58aa Add openpyxl stubs (#6801) 2022-03-06 16:24:17 -08:00