Nikita Sobolev
175e81be7f
Improve redis.utils types ( #8362 )
...
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-22 08:57:15 +01:00
Nikita Sobolev
fab1b59715
Always return Iterator, not Iterable for __iter__ ( #8361 )
2022-07-22 08:10:58 +01:00
Jelle Zijlstra
b418c1c3ba
beautifulsoup4: Fix type of Tag.__iter__ ( #8357 )
2022-07-21 21:32:15 +02:00
Nikita Sobolev
6ae2da64e6
Improve redis.retry types ( #8354 )
2022-07-21 17:51:13 +02:00
Nikita Sobolev
6fa7846edd
Annotate some redis.backoff items ( #8352 )
2022-07-21 16:52:15 +02:00
John Villalovos
e42c983740
requests: add annotation for parse_header_links ( #8349 )
...
In the requests package the function `utils.parse_header_links()`
takes a str as input and returns a list of dictionaries.
This can be seen in the unit tests that are used:
786255613b/tests/test_utils.py (L644-L664)
2022-07-20 21:02:29 -07:00
Sebastian Rittau
73fbb53475
Update setuptools stubs ( #8345 )
...
setuptools now vendors `distutils` as `setuptools._distutils`.
2022-07-20 18:44:22 +02:00
Nikita Sobolev
f178ae0d83
Improve types of redis.connection module ( #8342 )
...
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-20 13:48:13 +01:00
Shantanu
c783dda71b
Allowlist useless modules ( #8340 )
...
These are the ones I chose not to add from #8321
Fixes most of #8339
2022-07-19 19:15:20 -07:00
Ben Avrahami
25e74740ae
Type async Pipeline commands explicitly ( #8325 )
2022-07-19 15:15:09 +02:00
Nikita Sobolev
9cda16f5df
Improve redis.sentinel types ( #8331 )
2022-07-19 13:04:09 +02:00
Alex Waygood
e3d4bdc91a
Third-party stubs: enforce CamelCase for type alias names ( #8256 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-07-19 08:23:24 +01:00
Shantanu
4b34b345f1
Add missing third party modules ( #8321 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: hauntsaninja <>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-19 08:11:29 +01:00
David Hotham
6873a78b6b
requests: Annotate Session.merge_environment_settings (#8313 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-07-18 19:54:48 +01:00
唐翔昊
341057105f
pycurl: Add CurlMulti.setopt() (#8315 )
2022-07-18 19:02:28 +01:00
Alex Waygood
8af41720b6
Remove frozendict stubs ( #8326 )
2022-07-18 18:47:06 +01:00
Shantanu
38407a7904
[stubsabot] Bump Markdown to 3.4.* ( #8309 )
2022-07-18 13:04:27 +02:00
Alex Waygood
35616b439f
Run pycln as a pre-commit hook in CI ( #8304 )
2022-07-18 09:27:28 +02:00
Shantanu
64359528fc
croniter: make package, complete public API ( #8316 )
2022-07-17 17:08:03 -07:00
Shantanu
9df28aac13
Make xxhash, editdistance into packages ( #8320 )
...
This matches the runtime. Also see #8319
2022-07-17 12:26:18 -07:00
Lee
a4b6d0b434
markdown: remove deleted methods of Registry. (#8197 )
2022-07-15 22:29:13 +01:00
Alex Waygood
0764f9f31f
tqdm: Add __all__ to __init__.pyi and submodules (#8308 )
...
Fixes #8307
2022-07-15 17:39:45 +01:00
Alex Waygood
ed0b3a4412
tqdm: Improve a few __init__ methods (#8246 )
2022-07-15 10:30:24 +01:00
Shantanu
e90ee8e0d9
[stubsabot] Bump jsonschema to 4.7.* ( #8299 )
2022-07-15 08:40:05 +02:00
Shantanu
8fb85533cd
[stubsabot] Bump setuptools to 63.2.* ( #8301 )
...
Co-authored-by: hauntsaninja <>
2022-07-14 20:48:09 -07:00
Shantanu
865eb9bd0c
[stubsabot] Bump regex to 2022.7.9 ( #8300 )
...
Co-authored-by: hauntsaninja <>
2022-07-14 20:32:48 -07:00
hasier
fe44de2741
python-jose: improvements to jose.backends ( #8294 )
2022-07-14 19:27:27 -07:00
hasier
82745be9fc
Complete python-jose typing ( #8258 )
2022-07-13 18:01:08 +01:00
kasium
b92286982d
Add types to invoke.Runner.run ( #8279 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2022-07-13 09:29:45 +01:00
Sebastian Rittau
a0f6fb5669
Turn requests.requests.packages into a module ( #8281 )
...
Remove obsolete class VendorAlias
2022-07-12 20:30:28 +02:00
Sebastian Rittau
faae950ade
Use error codes for type ignores ( #8280 )
...
Disable reportSelfClsParameterName for pytype as this is out of typeshed's
control
Closes : #7497
2022-07-12 20:15:49 +02:00
Alex Waygood
6348a58b8b
Import Match and Pattern from re, not typing ( #8277 )
2022-07-12 15:32:48 +02:00
Sarah Hoffmann
4e0aaccdab
Extend annotations for psycopg2.sql ( #8263 )
2022-07-11 16:31:39 +02:00
Alex Waygood
edc0ecd857
Remove Python 3.6 branches from typeshed ( #8269 )
2022-07-11 10:55:17 +02:00
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
Álvaro Mondéjar
96bc17a40f
Annotate jmespath public API ( #8253 )
2022-07-07 16:42:14 +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
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
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
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