Nikita Sobolev
a376da87bd
Remove duplicate definitions ( #8483 )
2022-08-04 18:55:18 +02:00
Kevin Kirsche
103c2f39d2
Add urllib3.contrib.socks; improve urllib3.connectionpool ( #8457 )
...
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-08-04 11:36:40 +01:00
Nikita Sobolev
799fd2c8d8
Improve multiprocessing.context module ( #8466 )
...
* Use `ClassVar` where applicable
* Fix `_Popen()` return types
* Remove non-existing field `BaseContext.Process`
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-04 12:30:23 +02:00
Nikita Sobolev
bcd770bad3
Always return True from xml.dom.minidom.Node.__bool__ ( #8480 )
2022-08-04 12:23:34 +02:00
Nikita Sobolev
0480550fc3
Adds missing __dir__ definitions ( #8479 )
2022-08-04 12:21:43 +02:00
Kevin Kirsche
7953848101
Various pyvmomi improvements ( #8469 )
...
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-08-03 23:08:08 +01:00
Rebecca Chen
ac2fe42a14
Bump pytype version. ( #8478 )
...
Picks up a fix for the pytype test failure in
https://github.com/python/typeshed/pull/8469 .
2022-08-03 22:58:54 +01:00
Nikita Sobolev
b19d447721
Remove Enum.__hash__, improve Enum.__reduce_ex__ ( #8477 )
2022-08-03 18:19:49 +01:00
Kevin Kirsche
bd7a02fad4
refactor: prefer f-strings to other format/concatentation styles ( #8474 )
2022-08-03 14:04:27 +02:00
Nikita Sobolev
38c4a1ece2
Remove redundant __str__ methods ( #8475 )
2022-08-03 13:45:16 +02:00
Kevin Kirsche
65dadac46d
Add some missing stubs in datetimerange ( #8470 )
2022-08-02 23:08:18 +01:00
Akuli
57179d4080
tkinter: get rid of unnecessary Incomplete ( #8471 )
2022-08-02 15:03:24 -07:00
Anton Grübel
7148ee8612
Improve urllib3.util.url annotations ( #8460 )
2022-08-02 22:57:39 +01:00
Scott Lerman
93ebd58055
Fix complex constructor ( #8473 )
2022-08-03 00:41:18 +03:00
pre-commit-ci[bot]
fc0a5a26b5
[pre-commit.ci] pre-commit autoupdate ( #8461 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/hadialqattan/pycln: v2.0.4 → v2.1.1](https://github.com/hadialqattan/pycln/compare/v2.0.4...v2.1.1 )
- [github.com/pycqa/flake8: 4.0.1 → 5.0.2](https://github.com/pycqa/flake8/compare/4.0.1...5.0.2 )
* Update requirements-tests.txt
* Update flake8-pyi and flake8-bugbear as well
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-08-02 20:43:32 +01:00
Akuli
5e5f3b4ecc
Use typeshed.Incomplete and object instead of Any in tkinter stubs ( #8458 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-02 22:10:25 +03:00
Alex Waygood
1dc1c91429
io.IOBase: correct metaclass (#8468 )
...
`io.IOBase` has `ABCMeta` as the metaclass at runtime: 75a6441718/Lib/io.py (L71)
But not currently in the stub. This is causing an unexpected stubtest failure for a `urllib3` PR here: https://github.com/python/typeshed/runs/7633083101?check_suite_focus=true
2022-08-02 09:20:07 -07:00
Alex Waygood
df4618ef2d
Upgrade pycln and flake8-pyi ( #8464 )
2022-08-02 08:43:02 +01:00
Nikita Sobolev
1bd1625c36
importlib: SimplePath: __div__ -> __truediv__ on 3.10 ( #8451 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-02 07:15:46 +01:00
Shantanu
402489b40a
requests: fix stubtest ( #8463 )
2022-08-01 18:39:06 -07:00
Kevin Kirsche
3d9e907873
Improve urllib3.fields annotations ( #8456 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-01 15:39:21 +01:00
Yasir Ekinci
76643099a9
redis.backoff: fix cap and base type (float) ( #8454 )
2022-08-01 09:07:28 +02:00
Alex Waygood
59a9621554
test_cases README: fix typos (#8453 )
...
Both introduced in #8445
2022-07-31 23:11:13 +01:00
Alex Waygood
4414246a15
Clean up a few Python 2 remnants ( #8452 )
2022-07-31 19:19:18 +01:00
Kevin Kirsche
ca633bbde8
Add type hints to flask_sqlalchemy.model ( #8389 )
2022-07-31 15:36:46 +01:00
Alex Waygood
87fc724cef
ctypes: pointer is a function, not a class (#8446 )
2022-07-31 15:29:13 +02:00
Alex Waygood
ea7bbbdad7
Move Match and Pattern to re.pyi; move ContextManager protocols to contextlib.pyi ( #8447 )
2022-07-31 15:27:47 +02:00
Kevin Kirsche
36a5bb08ad
Annotate flask_sqlalchemy.__init__.Pagination ( #8390 )
...
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-31 11:52:26 +01:00
Sebastian Kreft
66eef16d66
Add annotations to urrlib3.util.url ( #8448 )
2022-07-30 20:04:45 +01:00
Alex Waygood
935ac9ca9e
test_cases: Improve README (#8445 )
2022-07-30 18:40:56 +01:00
Alex Waygood
fdeb216547
Remove or move several TypeAlias declarations ( #8444 )
2022-07-30 15:28:52 +01:00
Nikita Sobolev
275fc28733
Improve redis.cluster annotations ( #8379 )
...
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-30 12:50:39 +01:00
Alan Isaac
a13e2339c4
traceback: Use _typeshed.SupportsWrite instead of typing.IO (#8442 )
2022-07-30 12:24:57 +01:00
Kevin Kirsche
f550c24886
Add multiprocessing.popen_spawn_win32 submodule ( #8428 )
2022-07-29 16:02:15 +01:00
Kevin Kirsche
17e3cf99a4
Add multiprocessing.popen_spawn_posix submodule ( #8427 )
2022-07-29 15:52:49 +01:00
Alex Waygood
553700e355
Move some protocol definitions closer to their usage sites ( #8436 )
2022-07-29 06:26:27 -07:00
Nikita Sobolev
aba4bbd13b
Add pyopenssl.rand module ( #8435 )
2022-07-29 09:24:15 +01:00
Shantanu
a70667804a
Bump braintree to 4.16.* ( #8433 )
...
Resolves #8431
2022-07-28 22:32:06 -07:00
github-actions[bot]
81a8e11638
[stubsabot] Bump regex to 2022.7.25 ( #8432 )
...
Co-authored-by: stubsabot <>
2022-07-28 17:29:39 -07:00
ow0x
f074ef6803
[pillow] add new PIL.Image enums ( #8419 )
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
2022-07-28 14:20:52 -07:00
Kevin Kirsche
e48c176e7b
Update emoji stubs for v2.0.0 ( #8426 )
2022-07-28 18:29:35 +01:00
Kevin Kirsche
1f0e641521
Add multiprocessing.popen_forkserver submodule ( #8425 )
...
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-28 17:26:06 +01:00
Alex Waygood
a9f6632d1b
multiprocessing.reduction: improve recvfds and recv_handle (#8422 )
2022-07-28 17:05:08 +01:00
Alex Waygood
26d09359cf
multiprocessing.resource_sharer: remove unused TypeAlias (#8424 )
2022-07-28 17:43:36 +02:00
Kevin Kirsche
fe1e3ef91b
Add multiprocessing.heap submodule ( #8412 )
...
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-28 16:27:25 +01:00
Kevin Kirsche
087fb6b96d
Add multiprocessing.popen_fork submodule ( #8420 )
...
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-28 16:19:43 +01:00
Kevin Kirsche
dd24bba3dd
Add multiprocessing.resource_sharer submodule ( #8413 )
...
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-28 16:09:18 +01:00
Kevin Kirsche
177bbf7864
Add curses.has_key submodule ( #8421 )
2022-07-28 14:39:44 +01:00
Shantanu
804628dc7d
Remove unused protocol ( #8418 )
2022-07-27 20:35:47 -07:00
Kevin Kirsche
b7b98a6c9f
curses: add Concatenate ( #8414 )
...
Update the `wrapper` `__func` parameter to use ParamSpec and Concatenate to address a todo.
2022-07-27 20:02:25 -07:00