Kevin-Gruber
bd0cbf41f4
adding stubs for passpy API ( #6651 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2021-12-22 07:57:45 -08:00
Sebastian Rittau
426ce065b2
Various small SQLAlchemy type improvements ( #6623 )
2021-12-22 07:49:20 -08:00
Jelle Zijlstra
5205efcaa4
Fix Redis.zpopmin and zpopmax ( #6642 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-12-21 07:57:46 -08:00
Sebastian Rittau
0cecceed90
Add some missing attributes and types to FPDF ( #6618 )
2021-12-21 07:54:04 -08:00
Sebastian Rittau
ef17852999
SQLAlchemy: Partly annotate declarative API ( #6647 )
2021-12-21 07:40:37 -08:00
colons
e1b6d0460a
Fix return type of find_elements* ( #6645 )
2021-12-21 11:14:28 +01:00
Bill Schnurr
818e428603
Update Selenium webdriver with latest return types ( #6565 )
2021-12-20 18:26:49 -08:00
Anthony Sottile
43f0cb5533
add stripe.util.populate_headers ( #6637 )
2021-12-20 17:51:30 -08:00
Anthony Sottile
afcf213936
fill out api methods for stripe.Customer ( #6638 )
2021-12-20 17:50:54 -08:00
Anthony Sottile
7983d49f73
fill out api stubs for stripe.Account ( #6639 )
2021-12-20 17:50:21 -08:00
Anthony Sottile
ece3183c14
fill out api stubs for stripe.SubscriptionItem ( #6640 )
2021-12-20 17:48:09 -08:00
Anthony Sottile
3bf165d723
correct border= and fill= kwargs for ImageOps.expand ( #6641 )
2021-12-20 17:47:01 -08:00
Anthony Sottile
3008032076
pygments.formatters.get_all_formatters yields Formatters ( #6636 )
2021-12-20 15:21:10 -08:00
Sebastian Rittau
6f2ff7e895
Create SQLalchemy stubs using stubgen ( #6585 )
2021-12-17 09:38:23 -08:00
Stephen Rosen
806a5bcece
Add jsonschema.protocols to library stubs ( #6614 )
...
`jsonschema.protocols.Validator` was introduced in `jsonschema` v4.3.0
It's also available under the name `jsonschema.Validator`.
2021-12-17 13:30:58 +01:00
Stephen Rosen
df0a724c0f
Always import Protocol from typing in stubs ( #6617 )
2021-12-17 13:12:22 +01:00
Shantanu
2ad00c9664
Use stubtest 0.920 ( #6589 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-12-17 13:58:11 +02:00
Shantanu
1b80461b96
mypy_extensions: fix NoReturn, remove inaccurate comment ( #6595 )
2021-12-15 19:45:57 -08:00
Sebastian Rittau
968fd6d01d
Add abstract methods to BaseTzInfo ( #6579 )
...
While these abstract methods don't exist at runtime, all sub-classes of
BaseTzInfo implement them. It can be useful to annotate variables with
BaseTzInfo and being able to call these methods on it.
2021-12-14 14:14:21 +01:00
kasium
383b5877bc
Add stubs for flake8-plugin-utils ( #6506 )
2021-12-12 16:38:10 -08:00
kasium
53eae77983
Add stubs for flake8-2020 ( #6555 )
2021-12-10 20:55:23 +02:00
Sebastian Rittau
74ecc2904b
Add stubs for ldap3 ( #6561 )
2021-12-10 19:18:07 +01:00
kasium
65f69a1c87
Add missing context proptery to MockSpan ( #6549 )
...
The property context should return a mocked context and not a regular one
2021-12-10 11:51:18 +01:00
kasium
c96892f3b9
Add stubs for flake8-typing-imports ( #6556 )
2021-12-10 11:50:46 +01:00
kasium
f929d30ec0
Add stubs for hdbcli ( #6550 )
...
hdbcli is the python dbapi for SAP HANA. Not all methods/attributes are 100% compatible with PEP 249.
2021-12-09 14:29:06 +01:00
Jelle Zijlstra
384e309f53
pytz: rework stubs ( #6551 )
2021-12-09 09:24:44 +01:00
kasium
e2958f8ee7
Adjust opentracing return types for mocks ( #6527 )
2021-12-08 18:04:25 +01:00
kasium
c569be6947
Add stubs for flake8-bugbear ( #6543 )
2021-12-08 18:02:47 +01:00
Abhyudaya Sharma
b3a31b39fa
fix: paramiko.HostKeyEntry.hostnames is a list ( #6544 )
2021-12-08 13:51:37 +02:00
Akuli
91465a1d07
toposort: Make argument types less restrictive ( #6531 )
2021-12-07 16:26:09 +01:00
Michael A. Smith
6c9efbae9d
Updated stubs to jsonschema 4.2 ( #6486 )
2021-12-06 17:27:33 +01:00
kasium
df8ba001f2
Add stubs for flake8-docstrings ( #6507 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-12-06 13:15:26 +02:00
kasium
ff68746388
Mark some fields as ClassVars ( #6510 )
2021-12-06 12:13:40 +01:00
Sebastian Rittau
4ff23ba762
caldav: Update DAVError and AuthorizationError ( #6508 )
2021-12-06 13:05:10 +02:00
Samuel T
2610c5ee37
Create simplejson.errors ( #6492 )
2021-12-05 12:32:37 +02:00
Manfred Kaiser
56c45528b7
paramiko.Channel - mark arguments as also accepting bytes ( #6276 )
2021-12-04 17:31:27 +01:00
kasium
20df1808bf
Fix minor issues in opentracing ( #6482 )
2021-12-03 07:24:58 -08:00
kasium
2d07556e09
Add stubs for flake8-builtins ( #6483 )
2021-12-03 14:44:49 +01:00
kasium
7a24e71a9b
Add stubs for flake8-simplify ( #6480 )
2021-12-03 13:25:29 +01:00
kasium
9dc75772d3
Annotate remaining opentracing fields, arguments, and return types ( #6476 )
2021-12-03 11:41:49 +01:00
kasium
906d5f1faf
Add opentracing stubs ( #6473 )
2021-12-02 20:55:35 +01:00
Daniel Foerster
506be4fb0a
Fix psycopg2 connection.cursor() stub ( #6470 )
...
Adds `scrollable=` argument missing since psycopg2 2.5 and prevents `Any` from being hinted when `cursor_factory=` is passed.
2021-12-02 17:50:25 +01:00
Sebastian Rittau
8542b3518a
Remove stubs for pallets projects ( #6465 )
...
All pallets projects (Flask, Werkzeug, Jinja, Click, ItsDangerous, and
MarkupSafe) have now shipped their own stubs since May 2021. The
maintainer requested removal back then.
Closes : #5423
2021-12-01 09:34:34 -08:00
Akuli
4631b74919
Fix various issues in redis.client ( #6464 )
2021-12-01 17:09:48 +01:00
Akuli
deaa764915
redis: fix several stubtest warnings ( #6378 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2021-12-01 12:00:07 +02:00
Joachim Jablon
e96dde7618
psycopg2: use Error and Warning from _psycopg.pyi in errors.pyi ( #6454 )
2021-11-30 15:26:50 +02:00
Shantanu
c47ed98b3e
dummy_thread/ing: remove in 3.9 ( #6408 )
...
https://bugs.python.org/issue37312
2021-11-27 20:50:14 -08:00
Alex Waygood
98af7d667f
Improve stubs for sequence types ( #6386 )
2021-11-26 19:09:38 -08:00
Akuli
a5bc1e037f
Add mypy error codes to '# type: ignore' comments ( #6379 )
2021-11-26 07:07:56 +01:00
Sebastian Rittau
ab026bfecb
Update redis stubs to version 4 ( #6368 )
2021-11-25 11:05:32 +02:00