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
Alex Waygood
c685c2d6c6
Reduce use of deprecated typing aliases ( #6358 )
2021-11-23 10:56:43 +01:00
Joachim Jablon
7e836db2f3
Move abstract methods to AbstractConnectionPool ( #6340 )
2021-11-23 09:40:45 +01:00
Sebastian Rittau
6708ffae14
Add tz{utc,offset}.fromutc() ( #6360 )
2021-11-23 00:33:40 -08:00
Sebastian Rittau
5b668419ae
Fix MutableMapping overrides ( #6352 )
2021-11-21 07:04:40 -08:00
Akuli
0cd1135219
Revert "do not use mypy-specific syntax in '# type: ignore' comments" ( #6338 )
2021-11-18 20:13:07 +02:00
Diego Argueta
2f0969cd8d
Add prefetch argument to paramiko SFTPClient.getfo ( #6331 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-11-17 21:31:22 -08:00
Sebastian Rittau
9c2be9500a
Add hilite(shebang) argument and return type ( #6316 )
2021-11-16 09:17:08 -08:00
Sebastian Rittau
1b0e268102
Improve fpdf.image_parsing ( #6313 )
...
* Annotate more attributes, arguments, and return types.
* Add "dims" argument to get_img_info(), added in 2.4.6.
2021-11-16 17:35:08 +01:00
Steve Dignam
49e5b528dc
Add more type hints for pyyaml ( #6265 )
2021-11-12 12:23:58 +01:00
Stéphane Brunner
9c9853967d
Redis Sentinel master_for, slave_for returns a Redis client ( #6269 )
2021-11-12 12:23:12 +01:00
Shantanu
bf92378722
Bump typed-ast version, recommend Python 3.8 for tests ( #6278 )
2021-11-12 02:53:42 -08:00
Sebastian Rittau
f2551376ae
Add stubs for fpdf2 ( #6252 )
2021-11-10 19:06:26 +02:00
Maximilian Hils
ab25042efa
Add pyOpenSSL 21 constants ( #6273 )
2021-11-10 07:59:42 +01:00
Sebastian Rittau
2679ed1c07
Add some kwonly arguments to Session.send() ( #6266 )
...
Bump version to 2.26
2021-11-09 17:23:48 -08:00
Bob Thomas
a0c0435e95
Add markdown.blockprocessors.ReferenceProcessor ( #6270 )
2021-11-09 18:47:25 +02:00
Jelle Zijlstra
98e5112195
Improve pymysql.converters stubs ( #6267 )
...
I spent far too much time being confused about why pyanalyze thought `pymysql.converters.escape_dict` only takes two arguments.
I rewrote the stubs from scratch using the implementation: https://github.com/PyMySQL/PyMySQL/blob/main/pymysql/converters.py .
The "charset" argument is ignored as far as I can tell; it gets passed to other functions but no function actually uses it.
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-11-09 07:57:29 -08:00
luzpaz
b95b729b9e
Fix typos ( #6263 )
...
Found via `codespell -q 3 -L alo,asend,ba,nams,spawnve`
2021-11-08 18:23:15 -08:00
KotlinIsland
6e646f43dd
Remove BaseAdapter from requests.sessions ( #6264 )
2021-11-08 17:33:16 -08:00
Sebastian Rittau
f4ad8f06b0
Update httplib version to 0.20.* ( #6256 )
2021-11-08 14:47:01 +02:00