Alex Waygood
fed1f35c32
Remove explicit inheritance from object ( #7819 )
2022-05-10 16:24:53 +03:00
Sebastian Rittau
b211bf31a3
Update testing_engine() annotations ( #7818 )
2022-05-10 12:46:01 +03:00
Shantanu
550454c9aa
beautifulsoup4: small fixes and updates ( #7816 )
2022-05-10 09:17:40 +02:00
Alex Waygood
ac30b96d14
Use str instead of Text ( #7812 )
2022-05-09 20:47:11 +01:00
Julian
032d937bdf
#7805 : Ensure all references to mode are Literals, not str. ( #7807 )
2022-05-08 16:51:27 +02:00
Alex Waygood
5c6178a821
Import generics from standard modules in all third-party stubs ( #7791 )
2022-05-07 10:35:50 +02:00
Shantanu
e8b361983f
bs4: update to 4.11 ( #7785 )
...
Co-authored-by: hauntsaninja <>
2022-05-06 11:54:50 -07:00
Ilya Konstantinov
0b5213a213
flask-cors.decorator: allow re.Pattern objects to origins and allow_headers parameters (#7782 )
2022-05-06 19:34:51 +01:00
kasium
92c578546a
Improve types of invoke/env.pyi ( #7780 )
2022-05-05 07:12:51 +01:00
Sebastian Rittau
460537c7f6
Add missing redis modules and classes ( #7676 )
...
This adds asyncio support and support for redis.typing.
2022-05-04 11:29:13 +02:00
Shantanu
4bcb1a95ab
Upgrade paramiko ( #7766 )
2022-05-02 20:52:14 +02:00
Jovan Bebic
f05bfe0315
Fix paramiko channel.setblocking() argument ( #7758 )
...
Add 0,1 as allowed arguments using `Literal[0,1]`
2022-04-30 15:15:36 -06:00
Akuli
e613fc483b
Delete python 2 branches from third-party stubs ( #7741 )
...
Since #7703 , we no longer have third-party stubs that support Python 2, so code like `if sys.version_info >= (3, 0)` can be simplified.
2022-04-29 20:53:01 +01:00
Sebastian Rittau
5535b7fc08
Update caldav stubs for 0.9 ( #7734 )
2022-04-28 17:56:43 +03:00
Milan Boers
f330e12f3e
requests: allow non-mutable Mapping for files/hooks parameters ( #7732 )
2022-04-28 08:40:53 -06:00
Milan Boers
df06044ee8
requests: allow str and bytes for fileobj in files parameter ( #7728 )
...
* requests: allow str and bytes for fileobj in files parameter
* requests: Use SupportsRead instead of IO for files
2022-04-28 02:19:57 -06:00
Alex Waygood
59c346d031
cryptography: make oid attributes readonly ( #7731 )
2022-04-28 00:58:49 -06:00
Jelle Zijlstra
1deb9cb806
jack: Fix MidiPort properties ( #7730 )
...
Fixes #7729
26b648a361/src/jack.py (L1950)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-04-27 22:28:17 -06:00
Alec Rosenbaum
63fb9af743
requests: Add None to a type alias ( #7721 )
...
Fixes #7720
2022-04-27 08:39:15 -06:00
Sebastian Rittau
ff2feff7df
dateutil.tz.tz: Replace IO with protocols ( #7717 )
2022-04-27 16:37:57 +03:00
Sebastian Rittau
f7aa41245e
Drop Python 2 support in third-party stubs ( #7703 )
2022-04-27 15:32:17 +03:00
Sebastian Rittau
2d468966f5
Add various missing generic arguments ( #7702 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-04-27 15:25:35 +03:00
Milan Boers
ae09e4e866
Add more typing hints for requests ( #7696 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-04-27 14:40:20 +03:00
Sebastian Rittau
fa4677424a
Remove Python 2 support from simplejson ( #7704 )
2022-04-27 11:57:29 +02:00
Sebastian Rittau
60f0497a72
Drop support for Python 2 in termcolor ( #7707 )
2022-04-27 12:56:38 +03:00
Sebastian Rittau
cfdff16e4e
Drop Python 2 support from chardet ( #7708 )
2022-04-27 12:54:40 +03:00
Sebastian Rittau
03e1e3b4d3
Drop Python 2 support from python-gflags ( #7709 )
2022-04-27 12:54:12 +03:00
Sebastian Rittau
98aa6d75fe
Drop Python 2 support from python-dateutil ( #7715 )
2022-04-27 12:52:46 +03:00
Sebastian Rittau
5edf5f0cc9
Remove Python 2 support from toml ( #7713 )
2022-04-27 12:52:28 +03:00
Sebastian Rittau
27af3dc6b1
Drop Python 2 support from click-spinner ( #7710 )
2022-04-27 12:49:27 +03:00
Sebastian Rittau
6245bc7432
Remove Python 2 support from entrypoints ( #7711 )
2022-04-27 12:47:50 +03:00
Sebastian Rittau
e916fb5f1e
Remove Python 2 support from atomicwrites ( #7712 )
2022-04-27 12:45:44 +03:00
Sebastian Rittau
891d46cbb4
Drop Python 2 support from polib ( #7714 )
2022-04-27 12:42:23 +03:00
Sebastian Rittau
f39149d3a9
Drop Python 2 support from emoji ( #7716 )
2022-04-27 12:33:42 +03:00
Sebastian Rittau
d0990a0487
Drop Python 2 support from python-nmap ( #7706 )
2022-04-27 10:58:48 +02:00
Sebastian Rittau
2fb8424503
Drop Python 2 support from croniter ( #7705 )
2022-04-27 10:58:34 +02:00
Sebastian Rittau
3a98e8be6b
Update redis stubs to 4.2 ( #7675 )
...
Closes #7597
2022-04-23 22:15:10 -07:00
Sebastian Rittau
2a0fc1b582
Annotate Error and Diagnostics ( #7671 )
...
Move cursor class to top of file so it can be used as base class
2022-04-21 21:19:34 -07:00
Richard Schwab
32871c0d64
Update PyMySQL constants ( #7670 )
2022-04-21 13:56:14 +02:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Andrey
4a701642f2
Add typing for __iter__ in sqlalchemy.orm.Query ( #7666 )
2022-04-20 10:55:12 +01:00
Alex Waygood
819900fa55
Python 3 stubs: use str instead of typing.Text ( #7638 )
2022-04-16 15:47:00 +01:00
Alex Waygood
653f2c6ba4
Third-party stubs: import from collections.abc where possible ( #7637 )
2022-04-16 14:52:57 +01:00
Alex Waygood
66bea8ca48
Use imports instead of TypeAliases in a couple places ( #7634 )
...
Fixes #7632
2022-04-16 01:38:59 -07:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Alex Waygood
c0e6dd3f3f
Use str instead of typing.Text ( #7629 )
2022-04-16 00:47:42 +02:00
Jukka Lehtosalo
ce88976c0d
Add back six.moves.http_cookies.Morsel ( #7617 )
2022-04-13 16:52:29 +02:00
Jukka Lehtosalo
f888995239
Add back six.moves.configparser.Error ( #7616 )
2022-04-13 14:01:03 +02:00
matt-slack
6573761324
Add stubs for Python-Jose ( #7613 )
2022-04-12 19:08:23 +02:00
Jukka Lehtosalo
75bcb07d06
Add missing definitions to six.moves.http_client ( #7615 )
...
These were removed as a side-effect of #7327 , which added
`__all__` to `http.client`. I checked that all the definitions
are present at runtime via `six.moves.http_client`.
2022-04-12 06:51:02 -07:00