Samuel T
ef4e52df93
PyAutoGUI: Use types from PyScreeze (#8824 )
2022-10-03 15:11:42 -07:00
Nikita Sobolev
27e9fde673
Add redis.asyncio.parser ( #8830 )
...
Source: https://github.com/redis/redis-py/blob/master/redis/asyncio/parser.py
2022-10-03 10:49:55 -07:00
Nikita Sobolev
721ad3d785
[redis] Improve fail parameter of Retry.call_with_retry ( #8827 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-10-03 09:48:37 -07:00
Samuel T
2ded9e190f
Add pyscreeze stubs ( #8823 )
2022-10-03 09:33:15 -07:00
Samuel T
0b71c96970
Add pywin32 type stubs from microsoft/python-type-stubs and mhammond/pywin32 ( #8825 )
2022-10-03 09:32:43 -07:00
Nikita Sobolev
bee4ee3199
[redis] Improve redis.asyncio.lock types ( #8826 )
2022-10-03 09:31:10 -07:00
crusaderky
6414250888
psutil: Improve types for disk_io_counters() and net_io_counters() ( #8829 )
2022-10-03 09:25:25 -07:00
Giles Johnson
aab29f626c
Add type stubs for package console-menu ( #8820 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-10-03 09:22:39 -07:00
Nikita Sobolev
6950c32370
Add parser to invoke.completion.complete.complete ( #8819 )
...
Closes https://github.com/python/typeshed/issues/8818
2022-10-01 12:52:39 -07:00
github-actions[bot]
f9fdee5b8d
[stubsabot] Bump setuptools to 65.4.* ( #8811 )
...
Release: https://pypi.org/pypi/setuptools/65.4.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v65.3.0...v65.4.0
2022-09-29 18:02:57 -07:00
github-actions[bot]
11a4f068c4
[stubsabot] Bump flake8-bugbear to 22.9.23 ( #8812 )
...
Release: https://pypi.org/pypi/flake8-bugbear/22.9.23
Homepage: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/22.9.11...22.9.23
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
2022-09-29 18:02:08 -07:00
Shantanu
95444479ac
google-cloud-ndb: drop dependency on types-six ( #8793 )
...
For https://github.com/typeshed-internal/stub_uploader/pull/61#discussion_r979327370
2022-09-26 22:56:42 -07:00
Alex Waygood
48e76e8a56
Bump mypy to 0.981 ( #8796 )
2022-09-26 17:14:33 -07:00
Shantanu
9abe56a19a
boto: drop dependency on types-six ( #8792 )
2022-09-26 06:01:19 -07:00
Hugo van Kemenade
a38d619c70
prettytable: get_X_string return str ( #8791 )
2022-09-25 13:36:04 -07:00
Nikita Sobolev
f611d18f70
six: Remove unused __future__ import ( #8790 )
2022-09-25 06:50:26 -07:00
Pierre-Marie de Rodat
bd7b74a316
gdb: add missing automatic imports ( #8788 )
...
When GDB has just started, several `gdb` submodules are automatically
loaded, so user code does not have to manually import them (for instance
`import gdb.events`). Reflect that in `gdb` stubs.
2022-09-24 18:32:10 +01:00
dependabot[bot]
c1692130fd
google-cloud-ndb: bump stubtest protobuf requirement ( #8786 )
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 3.20.1 to 3.20.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.20.1...v3.20.2 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 22:49:28 +01:00
github-actions[bot]
4746f9b238
[stubsabot] Bump hdbcli to 2.14.* ( #8783 )
...
Release: https://pypi.org/pypi/hdbcli/2.14.18
Homepage: https://www.sap.com/
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
2022-09-22 18:25:23 -07:00
github-actions[bot]
f18b7552f3
[stubsabot] Bump emoji to 2.1.* ( #8784 )
...
Release: https://pypi.org/pypi/emoji/2.1.0
Homepage: https://github.com/carpedm20/emoji/
Diff: https://github.com/carpedm20/emoji/compare/v2.0.0...v2.1.0
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
2022-09-22 18:21:41 -07:00
kasium
66751e2ebf
Reexport NoResultFound in orm/exc ( #8782 )
2022-09-22 11:57:29 +02:00
Rogdham
b3db49abbd
requests: improve _Data type (#8762 )
...
requests: improve _Data type
This allows to pass an Iterable[bytes] for streaming request data.
2022-09-21 16:35:09 -07:00
Samuel T
dba47e0cfe
Add reportMissingParameterType to pyrightconfig.stricter.json ( #8770 )
2022-09-21 16:19:09 -07:00
Samuel T
d7160ca67c
Pyinstaller: use StrPath over StrOrBytesPath ( #8780 )
...
Fix incorrect StrOrBytesPath in PyInstaller stubs
Change StrOrBytesPath to StrPath when exclusively used with strings.
2022-09-21 16:09:11 -07:00
Chris Kuehl
44142ce13a
pygments.lexers.guess_lexer_for_filename cannot return None (#8777 )
2022-09-21 11:47:31 +02:00
Tdxdxoz
efeff93d21
fix: pillow.ImageDraw.textlength may return float ( #8773 )
2022-09-20 14:13:29 +01:00
Alex Waygood
97c935a3fe
Fix protobuf stubtest errors ( #8758 )
2022-09-18 17:47:36 -07:00
Oleh Prypin
30e47fc8ae
Add markdown.util.nearing_recursion_limit ( #8764 )
2022-09-18 13:06:55 +01:00
Sebastian Rittau
9b306c3367
Remove selenium stubs ( #8753 )
...
Closes : #7381
2022-09-16 15:39:14 +02:00
github-actions[bot]
a52d652dd0
[stubsabot] Mark termcolor as obsolete since 2.0.0 ( #8746 )
...
* [stubsabot] Mark termcolor as obsolete since 2.0.0
Release: https://pypi.org/project/termcolor/2.0.1/
Homepage: https://github.com/termcolor/termcolor
Changelog: https://github.com/termcolor/termcolor/releases
Diff: https://github.com/termcolor/termcolor/compare/1.1.0...2.0.1
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2022-09-16 13:54:06 +01:00
github-actions[bot]
8a47a28e76
[stubsabot] Bump flake8-bugbear to 22.9.11 ( #8747 )
...
Release: https://pypi.org/project/flake8-bugbear/22.9.11/
Homepage: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/22.8.23...22.9.11
2022-09-15 20:08:22 -06:00
github-actions[bot]
5084a263fd
[stubsabot] Bump ujson to 5.5.* ( #8749 )
...
Release: https://pypi.org/project/ujson/5.5.0/
Homepage: https://github.com/ultrajson/ultrajson
Diff: https://github.com/ultrajson/ultrajson/compare/5.4.0...5.5.0
2022-09-15 20:06:05 -06:00
github-actions[bot]
f7539fcac5
[stubsabot] Bump jsonschema to 4.16.* ( #8748 )
...
Release: https://pypi.org/project/jsonschema/4.16.0/
Homepage: https://github.com/python-jsonschema/jsonschema
Changelog: https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst
Diff: https://github.com/python-jsonschema/jsonschema/compare/v4.15.0...v4.16.0
2022-09-15 20:05:11 -06:00
github-actions[bot]
7119404391
[stubsabot] Bump regex to 2022.9.13 ( #8751 )
...
Release: https://pypi.org/project/regex/2022.9.13/
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.8.17...2022.9.13
2022-09-16 01:36:49 +01:00
github-actions[bot]
6e9dc64750
[stubsabot] Bump tree-sitter-languages to 1.5.* ( #8750 )
...
Release: https://pypi.org/project/tree-sitter-languages/1.5.0/
Homepage: https://github.com/grantjenks/py-tree-sitter-languages
Diff: https://github.com/grantjenks/py-tree-sitter-languages/compare/v1.4.0...v1.5.0
2022-09-16 01:36:21 +01:00
Samuel T
c9346f32e1
Add stubs for PyInstaller (public API only) ( #8702 )
2022-09-15 13:27:53 +01:00
Alex Waygood
246f7e7720
protobuf: fix stubtest errors ( #8735 )
2022-09-14 21:45:29 -07:00
Adrian Freund
205901e2fd
Add type stubs for cffi ( #8736 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-09-14 23:44:33 +01:00
yejia-stripe
42c044eb67
stripe: Add SearchableAPIResource, SearchResultObject (#8696 )
2022-09-13 16:29:56 +01:00
Kevin Kirsche
65c4ddfc57
Update parsimonious to 0.10.0 ( #8730 )
2022-09-13 15:59:08 +01:00
Samuel T
3ec7b1f2bb
Add stubs for D3DShot ( #8652 )
2022-09-12 18:32:47 +01:00
Alex Waygood
34383fcab5
[pynput] Fix annotations of Controller.Key(Code) ( #8722 )
...
Document stubtest entries
2022-09-12 13:30:57 +02:00
Alex Waygood
c4483a7b01
Update fdpf2 stubs for v2.5.7 ( #8721 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-09-11 15:27:19 +01:00
Amethyst Reese
b4d91054e3
Add missing attributes for docutils.io ( #8716 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-09-11 14:53:13 +01:00
Kevin Kirsche
525d122448
Improve paramiko.win_pageant stubs ( #8671 )
2022-09-10 23:10:14 +01:00
Akuli
ab022557e2
Run third-party stubtest under xvfb-run ( #8719 )
2022-09-10 18:34:11 +03:00
Nikita Sobolev
43d4174590
SQLAlchemy: Use ParamSpec for Engine.transaction() and Engine.run_callable() (#8718 )
2022-09-10 16:29:54 +01:00
Samuel T
4f2666ba8e
Complete pyautogui stubs ( #8684 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-09-09 12:34:45 +01:00
github-actions[bot]
8a8db9c6d4
[stubsabot] Bump aiofiles to 22.1.* ( #8714 )
...
Co-authored-by: stubsabot <>
2022-09-08 18:25:46 -07:00
Alex Waygood
b53843ab46
Add infrastructure allowing for test cases for third-party stubs ( #8700 )
...
- Move the logic for running mypy on the test cases from `tests/mypy_test.py` to a separate script, `tests/regr_test.py`.
- Add the necessary logic in order to be able to have test cases for third-party stubs.
- Move logic common to `tests/mypy_test.py` and `tests/regr_test.py` into `tests/colors.py`, and rename `tests/colors.py` to `tests/utils.py`.
- Add a new check to `tests/check_consistent.py`, to enforce the use of `# pyright: reportUnnecessaryTypeIgnoreComment=true` comments in third-party test cases. These are essential if we want to have our tests against false-negatives work with pyright.
- Update the relevant documentation to account for the new test file.
- Add a new job to the `tests.yml` GitHub workflow, to run the new test in CI.
- Add a simple proof-of-concept test case for `requests`, as a regression test for #7998 .
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2022-09-08 16:51:33 +01:00