Commit Graph

1262 Commits

Author SHA1 Message Date
Sebastian Rittau
678c231e5b Add types for zxcvbn (#8089) 2022-06-21 04:34:48 -07:00
Shantanu
7ee3b5672c Update cachetools to 5.2.* (#8119) 2022-06-21 09:02:00 +02:00
Shantanu
b36c7705a7 [stubsabot] Bump pytz to 2022.1 (#8121)
Co-authored-by: hauntsaninja <>
2022-06-20 22:16:45 -07:00
Shantanu
ec33d7ba87 [stubsabot] Bump editdistance to 0.6.* (#8120)
Co-authored-by: hauntsaninja <>
2022-06-20 22:16:34 -07:00
Shantanu
a1323510f3 Bump parsimonious to 0.9.* (#8117) 2022-06-20 21:38:52 -07:00
Shantanu
6c63c323ae [stubsabot] Bump humanfriendly to 10.0.* (#8118)
Co-authored-by: hauntsaninja <>
2022-06-20 21:37:42 -07:00
Shantanu
58d486978e Bump mysqlclient to 2.1.* (#8116) 2022-06-20 21:36:21 -07:00
Shantanu
432fc3ff00 Bump invoke to 1.7.* (#8111) 2022-06-20 21:06:53 -07:00
Shantanu
05ac6a7215 Bump waitress to 2.1.* (#8113) 2022-06-20 21:06:15 -07:00
Shantanu
6fd87aca20 [stubsabot] Bump flake8-bugbear to 22.4.25 (#8112)
Co-authored-by: hauntsaninja <>
2022-06-20 16:29:31 -07:00
Alex Waygood
c6de37df53 Overhaul socket stubs on Windows and MacOS (#8106)
Reduce the `socket` allowlists for these platforms to a handful of missing constants
2022-06-20 20:11:50 +01:00
Sebastian Rittau
6a64e69054 Update redis stubs to 4.3 (#8108) 2022-06-20 12:09:38 -07:00
Shantanu
64181e8dad stubtest: use separate table in METADATA.toml (#8096) 2022-06-19 00:43:24 -07:00
Shantanu
42409735b2 Bump oauthlib to 3.2.* (#8081) 2022-06-18 16:27:10 +02:00
Shantanu
225c14c16f [stubsabot] Bump Pygments to 2.12.* (#8093)
Co-authored-by: hauntsaninja <>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-06-18 08:58:29 +01:00
Shantanu
b7af592718 [stubsabot] Bump paramiko to 2.11.* (#8091)
Co-authored-by: hauntsaninja <>
2022-06-18 08:51:10 +01:00
Shantanu
5f1f6dc310 redis: remove duplicate allowlist entries (#8097)
Co-authored-by: hauntsaninja <>
2022-06-18 08:42:07 +01:00
eggplants
c383e95286 Fix box parameter type of Pillow.PIL.Image.paste (#8090)
When executing `img.paste(cropped, box=(10.5, 10.5))`:
TypeError: 'float' object cannot be interpreted as an integer

So the `box` parameter's type should be not `tuple[float, float]` but `tuple[int, int]`. (same as `_Box`)
2022-06-16 16:50:14 -07:00
Alex Waygood
6b0c8df9ec Upgrade pyright, improve pyright config files (#8072) 2022-06-16 18:50:50 +01:00
Alex Waygood
a2ef47660a Fix TypeVars in beautifulsoup and SQLAlchemy (#8087) 2022-06-16 17:34:27 +02:00
Alex Waygood
43f923b6c2 protobuf: Delete some __new__ and __init__ methods (#8088) 2022-06-16 17:10:14 +02:00
Alex Waygood
4967c8bc12 redis: fix more unconstrained TypeVars (#8084) 2022-06-15 10:14:13 -07:00
Pierre-Marie de Rodat
640053e8e3 Add stubs for "gdb" (#8013)
This commit adds type stubs for the "gdb" package, the Python API to
extend GDB (https://sourceware.org/gdb/onlinedocs/gdb/Python-API.html).
2022-06-14 22:28:54 -07:00
Shantanu
8cac5284ae [stubsabot] Bump braintree to 4.15.* (#8080)
Co-authored-by: hauntsaninja <>
2022-06-14 22:04:35 +01:00
Shantanu
2755d8c310 [stubsabot] Bump pyfarmhash to 0.3.* (#8079)
Co-authored-by: hauntsaninja <>
2022-06-14 22:03:53 +01:00
Shantanu
1fab7f76fb [stubsabot] Bump ujson to 5.3.* (#8078)
Co-authored-by: hauntsaninja <>
2022-06-14 21:44:12 +01:00
Alex Waygood
01d5e28ff7 Fix miscellaneous invalid TypeVar usages (#8074) 2022-06-14 08:48:41 -07:00
Alex Waygood
7de1ed9589 cachetools: Fix invalid TypeVar usage (#8073) 2022-06-14 06:39:45 -07:00
Shantanu
7c473240ff [stubsabot] Bump flake8-simplify to 0.19.* (#8052) 2022-06-13 12:24:49 +02:00
Lee
70d903c8b6 markdown: annotate HtmlStash. (#8067) 2022-06-13 10:47:51 +02:00
Alex Waygood
1be5918baa Use _typeshed.IdentityFunction more consistently (#8063) 2022-06-12 16:56:14 -07:00
Vincent Donato
ad48606a0d Add stub for emoji.is_emoji (#8053) 2022-06-10 01:08:08 +01:00
Shantanu
95128e61ec certifi: mark as obsolete since 2022.5.18.1 (#8045) 2022-06-09 15:49:23 +02:00
Shantanu
971deee833 Remove stubs/filelock (#8046)
See #8043
2022-06-09 11:22:50 +02:00
Shantanu
81fd55a885 frozendict: mark as obsolete since 2.2.0 (#8044)
It has shipped with a py.typed file since v.2.2.0 in January: 7fcdd3aa99

It can be removed come July 15

Co-authored-by: hauntsaninja <>
2022-06-09 09:49:52 +01:00
Shantanu
d3e291cfb6 filelock: mark as obsolete since 3.3.0 (#8043) 2022-06-09 10:39:16 +02:00
Shantanu
2cbbb31bc3 freezegun: mark as obsolete since 1.2.1 (#8042)
Linking #5842
2022-06-09 10:32:56 +02:00
Alex Waygood
45b9e60d13 dateparser: Remove redundant import of _typeshed.Self (#8041) 2022-06-08 21:02:14 +01:00
Alex Waygood
c449ddde56 Remove stubs for characteristic (#8040) 2022-06-08 20:18:13 +01:00
Sebastian Rittau
60507a08a2 Mark characteristic as no longer updated (#8038)
Part of #8012
2022-06-08 18:57:15 +02:00
Shantanu
2414b21a96 Update xxhash (#8034)
Co-authored-by: hauntsaninja <>
2022-06-07 17:45:04 -07:00
Shantanu
8fd308699c Update flake8-rst-docstrings (#8033)
Fixes #8032

Co-authored-by: hauntsaninja <>
2022-06-07 17:33:10 -07:00
Alex Waygood
7322acbb97 jsonschema: mark type alias explicitly (#8024) 2022-06-06 14:44:46 -07:00
Alex Waygood
43a9ab08d7 Always use TypeAlias when assigning to Any (#8021) 2022-06-05 18:16:20 -07:00
Steve Dignam
e30ff13b7d stripe: update a few signatures (#7978)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-03 18:27:23 +01:00
Jelle Zijlstra
cb9023988d psycopg2: stub improvements (#7964)
Fixes an entry from #7928 along with a number of other improvements.

I went off the C code:
https://github.com/psycopg/psycopg2/blob/master/psycopg/connection_type.c
2022-06-02 18:02:07 -07:00
Tom Milligan
51f97dda15 requests: expand types for files (#7999) 2022-06-01 22:55:38 +03:00
Tomoki Nakagawa
461289e181 PyYAML: Add types to add_constructor (#7989) 2022-06-01 18:23:20 +01:00
Tom Parker-Shemilt
f5f79f181d dj-database-url: Add missing fields to _DBConfig TypedDict (#8008)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-01 16:52:19 +01:00
Sebastian Rittau
07ac9675e4 SQLAlchemy 1.4.37 fixes (#8003)
Closes: #8001
2022-06-01 09:50:40 +01:00