Commit Graph

170 Commits

Author SHA1 Message Date
Sebastian Rittau
7d56cd9a6c Remove remaining bare Incompletes (#11768)
Enable Y065
2024-04-16 06:26:14 -07:00
kasium
bc8fc36739 Add docker-py stubs (#11749) 2024-04-12 15:30:36 +02:00
Sebastian Rittau
95a2a2d883 Add icalendar stubs (#11733) 2024-04-08 12:51:48 -04:00
Sebastian Rittau
6d19a17f57 [aiofiles] Annotate AiofilesContextManagerTempDir (#11705) 2024-04-02 15:44:44 +02:00
Alex Waygood
e3350f30f9 Remove several stdlib files from the ignorelist for the stricter pyright settings (#11702) 2024-04-02 09:52:00 +01:00
Sebastian Rittau
027115e624 Remove bare incompletes (#11670) 2024-03-30 18:35:57 -07:00
Sebastian Rittau
33de88879f Remove bare Incomplete annotations in third-party stubs (#11671) 2024-03-30 18:34:51 -07:00
kasium
db8e620e3d Add type stubs for hvac (#11591) 2024-03-25 12:13:15 +01:00
Sebastian Rittau
9841c255ee Replace Any in optparse (#11599)
Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com>
2024-03-15 22:33:52 +01:00
Alex Waygood
c3f363ce33 Use stricter pyright settings for pygit2 (#11585) 2024-03-13 10:30:46 +00:00
WÁNG Xuěruì
9a4b605065 Add stubs for pygit2 (#11374)
The upstream library is very tricky to type (likely requires nontrivial
refactoring), and only contains partial type information, but stubs are
a lot easier because only the public signatures are involved this way,
so I plan to first make the library usable in typed projects by making
stubs available here, then gradually work my way upstream.

The stubs are auto-generated then completed with fully manual inspection
of every Python source file. The `_pygit2.pyi` comes from upstream and
is mostly untouched except for required style changes, the signature of
`options()`, and `FilterSource` which is missing from upstream.
2024-03-11 22:48:12 -07:00
Hoël Bagard
beba8b1901 Add wurlitzer stubs (#11459)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-03-09 16:52:25 +02:00
Avasam
c35b3bce4e Use strict pyright configs for pkg_resources (#11538) 2024-03-08 17:35:56 +01:00
David Salvisberg
fa164b2419 WebOb: Complete the stubs and activate stricter pyright config (#11460) 2024-02-28 22:57:50 -08:00
Nikita Sobolev
a2095002e4 Complete stubs for bleach (#9314)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-02-21 20:03:24 +00:00
Sebastian Rittau
8e872a022c numbers: Remove Any annotations (#11347) 2024-01-30 15:17:06 +01:00
Kevin Nowaczyk
64f7da9e45 Add stubs for antlr4 (#11192) 2024-01-15 15:35:18 +01:00
solkaz
0b43c1d95b Add types for defusedxml (#11179) 2024-01-14 14:08:59 +01:00
Audrey Dutcher
658dd55c41 Add networkx stubs (#10544)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: Audrey Dutcher <audrey@rhelmot.io>
2023-12-14 21:52:04 -05:00
Avasam
e109588be0 Complete seaborn stubs and mark as strict (#10974) 2023-11-15 12:58:27 +01:00
Avasam
b8932899ea Complete Flask-Migrate and mark as Strict (#10971) 2023-11-09 17:48:57 +01:00
Jelle Zijlstra
17f8a82376 ast: mark ast.Num etc. as deprecated (#10994) 2023-11-08 19:40:22 +01:00
Alex Lowe
820be9bfe9 Add pyxdg stubs (#10163)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-11-06 16:57:09 -08:00
Nikita Sobolev
a5d616303d Remove invoke stubs (#10956) 2023-10-31 11:31:31 +01:00
Ali Hamdan
c189ca0e15 Add seaborn stubs (#10721) 2023-10-28 07:44:36 -07:00
Alex Waygood
908993a807 Add stubs for importlib.(resources.)readers (#10928)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-10-26 14:18:55 +01:00
Alex Waygood
c5599572d4 Use stricter pyright settings when testing pyjks (#10846) 2023-10-06 15:01:04 +01:00
Marti Raudsepp
1163a5ecfb Add stubs for pyjks (#10797)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-01 12:31:34 +01:00
Alex Waygood
559d31c4a3 Remove stubs for urllib3 (#10812)
Both types-requests and types-influxdb-client now depend on urllib3>=2 instead of types-urllib3. That in turn means that types-caldav, types-slumber and types-requests-oauthlib all depend indirectly on urllib3>=2, since all three stubs packages depend on types-requests.
2023-10-01 00:01:12 +01:00
Sohang Chopra
da187a99a6 Add stubs for Flask-SocketIO (#10735)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-09-25 10:52:17 +01:00
David Salvisberg
ae9d22574e Add stubs for requests-oauthlib (#10658) 2023-09-11 16:20:11 +02:00
Akuli
a785041250 create_baseline_stubs.py: Improve pyright config file editing (#10629)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-30 17:43:46 +03:00
treasuryspring
ef63aec06b Add stubs for workalendar (#10614)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2023-08-25 22:55:02 +03:00
Nikita Sobolev
474ad1c70e Remove babel stubs (#10524) 2023-08-01 09:12:33 +01:00
PyHedgehog
7a00c25959 Add stubs for click-default-group (#9304)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-07-22 20:21:37 +01:00
Sebastian Rittau
a04cb3b058 Add stubs for qrcode (#10380) 2023-07-20 14:36:20 +02:00
Nikita Sobolev
e7ba0327e1 Remove SQLAlchemy stubs (#10389)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-07-08 10:24:59 +01:00
Nikita Sobolev
ae5b28ff37 Stricter pyright checks for inifile (#10382) 2023-06-28 22:57:25 +01:00
Alex Waygood
c63dd5941f Improve how we run pyright in CI (#10258)
Avoid using the deprecated `--venv-path` command-line argument
2023-06-23 09:26:19 +01:00
Oscar
aeb3bf7099 Add pexpect stubs (#10300) 2023-06-21 14:03:27 +02:00
David Salvisberg
df795220a3 Add stubs for WebOb (#9874)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-06-18 07:32:49 -07:00
Alexander Burchenko
46de19d2cf add boltons (#8892)
Co-authored-by: Andrey Maslennikov <andrew.maslennikov@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-06-07 07:54:37 +01:00
Jeff Dairiki
89a22f9912 Add stubs for inifile (#10270) 2023-06-06 20:41:07 -07:00
Alex Waygood
d208d5a833 Pyright: create a more isolated environment in CI for testing stubs (#10121) 2023-05-01 19:02:45 +01:00
Avasam
fb4bf034f3 Add fixers to lib2to3 (#10003) 2023-04-27 21:56:56 -07:00
Nikita Sobolev
4b04bf49bb Remove stubs for prettytable (#9988) 2023-04-01 10:39:17 +01:00
Avasam
a6c6bc1b8e Fix stdlib/disutils testing (#9734) 2023-02-21 08:06:20 +00:00
Avasam
965b3108fe Further improve and simplify pyright configuration (#9714) 2023-02-12 22:42:23 +01:00
Nikita Sobolev
62c54da134 Complete python-crontab (#9306)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-02-07 05:21:06 -08:00
Alex Waygood
60789273a2 Improve pyright verification of third-party test cases in CI (#9650)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-02-07 11:53:54 +00:00