Commit Graph

6522 Commits

Author SHA1 Message Date
Spencer Brown
29c17ffb47 Improve tkinter.simpledialog (#8243) 2022-07-10 19:52:16 +03:00
q0w
4e4de7f660 sysconfig: Add get_default_scheme and get_preferred_scheme (#8265) 2022-07-10 12:31:40 +01:00
John Villalovos
38015e1935 imaplib: annotate imaplib.Commands (#8262)
Add type hints for `imaplib.Commands` which is defined here in
imaplib.py:
6442a9dd21/Lib/imaplib.py (L58-L102)

Closes #8261
2022-07-09 14:27:29 +05:30
Shantanu
ee09a67c5c [stubsabot] Bump docutils to 0.19.* (#8260) 2022-07-08 20:55:22 +01:00
Shantanu
631a948de9 [stubsabot] Bump ujson to 5.4.* (#8259)
Co-authored-by: hauntsaninja <>
2022-07-08 20:42:42 +01:00
Shantanu
72c7eb6f80 [stubsabot] Bump setuptools to 62.6.* (#8224)
Most of setuptools.config is not included as the module is deprecated.
2022-07-08 21:23:18 +02:00
Andrey
b145b32aa9 Add Session annotation for sessionmaker call (#8257) 2022-07-08 10:31:36 +01:00
Alex Waygood
fbddd2c4e2 stdlib: enforce CamelCase for type alias names (#8255) 2022-07-07 17:45:23 +02:00
Alex Waygood
abea36c069 Improve configparser alias names (#8254) 2022-07-07 16:17:09 +01:00
Álvaro Mondéjar
96bc17a40f Annotate jmespath public API (#8253) 2022-07-07 16:42:14 +02:00
Sebastian Rittau
9a5c865034 Drop support for Python 3.6, part 1 (#8250)
* Document that typeshed support 3.7+.
* Don't run tests on Python 3.6.
* Remove Python 3.6 allow lists.
* Merge common allowlist items.

Part of #6189
2022-07-07 14:42:02 +02:00
Alex Waygood
9ccf4589a0 Fix various TypeAlias issues (#8248) 2022-07-07 17:48:44 +05:30
Alex Waygood
850bc78a45 Improve SQLAlchemy type aliases (#8252)
* Remove `sqlalchemy.dbapi` (in favor of `_typeshed.dbapi`).
* Don't re-export mypy imports from `sqlalchemy.ext.mypy.*`.
2022-07-07 14:11:08 +02:00
Alex Waygood
42c5633bf6 Improve tqdm.contrib.logging context managers (#8251) 2022-07-07 10:28:28 +01:00
Kevin Kirsche
ccdb558af9 fix: Return Never rather than None from signal.default_int_handler (#8249) 2022-07-06 11:05:38 -07:00
Shantanu
b941cfffde create_baseline_stubs: check all defs by default (#8227)
Since stubgen will usually create definition complete stubs, we should have
stubtest check missing definitions so we can know to reflect any future
additions.

Co-authored-by: hauntsaninja <>
2022-07-06 22:55:29 +05:30
Alex Waygood
fffb25201a Delete some works of fiction (#8247) 2022-07-06 22:49:18 +05:30
hasier
c39b9e5bd5 Improve python-jose jws and jwt modules (#8238)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-06 18:06:08 +01:00
Kevin Kirsche
be2921648c Annotate urllib3.disable_warnings (#8245) 2022-07-06 15:35:05 +01:00
Florimond Manca
2792910ace Tweak pre-3.8 iscoroutine stub (#8104) 2022-07-06 13:28:43 +01:00
Sebastián Ramírez
55a52a8b28 Fix type annotation for traceback.StackSummary.from_list() to include FrameSummary items (#8244) 2022-07-06 11:00:35 +01:00
Shantanu
e6482354dd Suggest updating mypy on stub removals (#8049)
Co-authored-by: hauntsaninja <>
2022-07-06 08:11:05 +01:00
David Brownman
64554bdd5d add overload to tuple.__new__ to better express an empty tuple (#7454)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-05 17:28:08 -07:00
Andrej Shadura
043d9dac61 Add missing aiofiles.tempfile classes (#7523)
Fixes: #6524

Co-authored-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-07-05 23:50:19 +02:00
Anders Kaseorg
db8f3c8f50 Pygments: add pygments.__version__ (#8241)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-07-05 20:26:08 +01:00
Daniel Rembiszewski
c23cb7be75 Add stubs for tqdm (#8235)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-05 18:34:11 +01:00
hasier
d1d87f0d87 Improve passlib CryptContext typing (#8237) 2022-07-05 13:59:35 +02:00
pre-commit-ci[bot]
54e006c23d Upgrade black dependency (#8236)
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-05 00:02:43 +01:00
Alex Waygood
73974e974d Improve warnings.catch_warnings (#8229) 2022-07-04 17:05:21 +02:00
Sebastian Rittau
f135c6515d Fix size parameter of FPDF.set_font_size (#8234) 2022-07-04 12:23:31 +01:00
Alex Waygood
8ef6602e25 Third-party stubs: audit more Callable[<parameters>, Any] annotations (#8233) 2022-07-04 10:29:47 +02:00
Shantanu
fb478f0b58 [stubsabot] Bump Pillow to 9.2.* (#8226) 2022-07-04 10:20:14 +02:00
Andrew Glick
0367fc94d9 Improve_Color type alias of PIL.Image (#8210)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-04 07:46:03 +01:00
Chris Cotter
f7ff6239ff asyncio task factory can accept Coroutines too (#8205)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-03 18:00:29 +01:00
Alex Waygood
0cff7fea71 http.cookiejar.MozillaCookieJar.header does not exist in 3.10+ (#8228) 2022-07-03 09:42:14 -07:00
KotlinIsland
60a3cee609 __future__._Feature.getMandatoryRelease() can return None (#8232)
Co-authored-by: KotlinIsland <kotlinisland@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-03 13:27:52 +01:00
Alex Waygood
e19073e871 Add a tiny bit more special-casing for sum (#8231) 2022-07-02 20:05:56 +01:00
Shantanu
1f0172c85d [stubsabot] Bump babel to 2.10.* (#8222) 2022-07-01 22:45:32 +02:00
Shantanu
81a95b4b22 [stubsabot] Bump stripe to 3.5.* (#8223)
Co-authored-by: hauntsaninja <>
2022-07-01 20:33:00 +01:00
Shantanu
25d7adefb2 [stubsabot] Bump aws-xray-sdk to 2.10.* (#8221)
Co-authored-by: hauntsaninja <>
2022-07-01 20:32:41 +01:00
Shantanu
5818c3e6c4 [stubsabot] Bump flake8-bugbear to 22.7.1 (#8220) 2022-07-01 11:57:51 -07:00
Shantanu
cf2eaf2a75 [stubsabot] Bump stripe to 3.4.* (#8212)
Co-authored-by: hauntsaninja <>
2022-07-02 00:11:51 +05:30
Shantanu
af21ef5cb3 [stubsabot] Bump psutil to 5.9.* (#8213)
Co-authored-by: hauntsaninja <>
2022-07-02 00:11:33 +05:30
Alex Waygood
a2e8346d9a Improve multiprocessing stubs (#8202)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-07-01 23:50:39 +05:30
Sebastian Rittau
7b54854c90 Remove the dataclasses third-party stub (#8216)
dataclasses is part of the Python stdlib and the third-party package is
not supported past Python 3.6.
2022-06-30 12:14:29 +02:00
Sebastian Rittau
ec7ab6d4d6 Mark the dataclasses stubs as no longer updated (#8215) 2022-06-30 11:47:36 +02:00
Shantanu
200891fed1 Bump prettytable to 3.3.* (#8207)
Co-authored-by: hauntsaninja <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-30 07:50:39 +01:00
Shantanu
6e039ddce3 [stubsabot] Bump python-slugify to 6.1.* (#8208) 2022-06-29 09:54:42 -07:00
Shantanu
4253a1fbf7 [stubsabot] Bump hdbcli to 2.13.* (#8206)
Co-authored-by: hauntsaninja <>
2022-06-29 17:16:15 +01:00
Shantanu
b4587c64c6 Bump fpdf2 to 2.5.* (#8173)
Co-authored-by: hauntsaninja <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-29 16:54:36 +01:00