Commit Graph

1262 Commits

Author SHA1 Message Date
Alex Waygood
2b5afd9cc9 Fix stubtest failures on SQLAlchemy (#8914) 2022-10-17 12:43:52 +02:00
Nikita Sobolev
9c5a588078 datetime.tzinfo is abstract (#8908) 2022-10-16 16:20:31 -07:00
Nikita Sobolev
3e828bd307 Remove empty __init__ methods from classes with 0 parents (#8907) 2022-10-16 12:47:47 +01:00
Nikita Sobolev
ce4668a132 Use Incomplete instead of Any in __getattr__ (#8903) 2022-10-15 18:54:21 +01:00
Nikita Sobolev
ed4bc2b2e6 Mark flake8-2020 as complete (#8902) 2022-10-15 16:00:44 +01:00
Nikita Sobolev
38d0f691e6 Mark entrypoints as complete (#8901) 2022-10-15 15:16:41 +01:00
github-actions[bot]
51e18a8601 [stubsabot] Bump setuptools to 65.5.* (#8900)
Release: https://pypi.org/pypi/setuptools/65.5.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v65.4.1...v65.5.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 4 files included in typeshed's stubs have been modified or renamed: `setuptools/build_meta.py`, `setuptools/command/test.py`, `setuptools/monkey.py`, `setuptools/wheel.py`.
 - Total lines of Python code added: 111.
 - Total lines of Python code deleted: 59.

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-10-14 17:42:37 -07:00
Kaisen Chen
4bd13ff419 Fix RefResolver's context manager return types (#8898) 2022-10-14 22:07:38 +03:00
Darshan
1cfb5bb5a1 Add return types to fpdf.drawing (#8891)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-14 21:08:07 +03:00
Nikita Sobolev
9668ecd27c Mark decorator as complete (#8897) 2022-10-14 11:02:38 -07:00
Jonathan Plasse
f9ed090cfc Fix paho-mqtt typing errors (#8878) 2022-10-13 20:54:50 -07:00
Nikita Sobolev
f07e68d7a4 [redis] Type redis.commands.parser (#8870) 2022-10-13 20:52:13 -07:00
Nikita Sobolev
9ba53492fc Mark colorama as completed (#8887) 2022-10-13 20:15:01 -07:00
Stanislav Zmiev
f689a3a93a passlib: allow password hashes to be None for verify() (#8888) 2022-10-13 13:23:37 -07:00
Nikita Sobolev
f02093cb64 Mark chevron as completed (#8884) 2022-10-12 09:35:12 +01:00
github-actions[bot]
1894ee903e [stubsabot] Mark Flask-SQLAlchemy as obsolete since 3.0.1 (#8849)
Release: https://pypi.org/pypi/Flask-SQLAlchemy/3.0.1
Changelog: https://flask-sqlalchemy.palletsprojects.com/changes/
Diff: https://github.com/pallets-eco/flask-sqlalchemy/compare/2.5.1...3.0.1

Co-authored-by: stubsabot <>
2022-10-12 01:30:56 +01:00
Samuel T
573ee94f35 All scripts/tests: always specify file encoding in calls to open() (#8882) 2022-10-11 22:29:36 +01:00
Nikita Sobolev
5ca2d77f85 Mark atomicwrites as complete (#8883) 2022-10-11 14:28:39 -07:00
Reuben Thomas
708996dff0 regex: add support for RegexFlag class (#8881) 2022-10-11 17:07:09 +02:00
Robert Schweizer
c9e6bd2df9 Allow PIL.Image.MAX_IMAGE_PIXELS to be None (#8876)
`_decompression_bomb_check()` explicitly checks for `None` and handles it as "unlimited".
2022-10-10 07:26:07 -07:00
Samuel T
1d7ace353a Bump PyInstaller-stubs to 5.5 (#8874) 2022-10-10 04:22:55 +01:00
github-actions[bot]
3bcb0508f6 [stubsabot] Bump flake8-builtins to 2.0.* (#8872)
Release: https://pypi.org/pypi/flake8-builtins/2.0.0
Homepage: https://github.com/gforcada/flake8-builtins
Diff: https://github.com/gforcada/flake8-builtins/compare/1.5.3...2.0.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `flake8_builtins.py`.
 - Total lines of Python code added: 338.
 - Total lines of Python code deleted: 546.

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-10-09 12:49:31 +01:00
Alex Waygood
d1375f600c Remove stubs for freezegun (#8867) 2022-10-07 11:48:04 -07:00
Samuel T
99cb36a784 pywin32: Complete modules using stubgen & stubtest (#8866)
Complete modules using stubgen & stubtest
2022-10-07 18:56:17 +01:00
Nikita Sobolev
4579094f77 Bump tabulate to 0.9 version (#8865) 2022-10-07 06:03:18 -07:00
Nikita Sobolev
76e18379a2 Add two more methods to pep8-naming stub (#8864) 2022-10-07 06:00:14 -07:00
Jelle Zijlstra
9733901770 psycopg2: __nonzero__ was removed (#8863)
Fixes #8862
2022-10-07 02:23:56 +01:00
Alex Waygood
e173cbe7b6 Mark requests stubs as complete (#8858)
Co-authored-by: Kevin Kirsche <kevin.kirsche@one.verizon.com>
2022-10-06 15:31:02 -07:00
Anders Kaseorg
9da105d4d9 markdown: Specify md type (#8857)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-10-06 14:20:05 -07:00
Jonathan Plasse
fa82452aa0 Add paho-mqtt stubs (#8853) 2022-10-06 17:23:35 +02:00
Alex Waygood
5d45e3babc fpdf2: complete stubs (#8855) 2022-10-06 11:36:26 +02:00
github-actions[bot]
4b44119d0d [stubsabot] Bump braintree to 4.17.* (#8847)
Release: https://pypi.org/pypi/braintree/4.17.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview

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-10-04 14:47:04 -07:00
github-actions[bot]
378de18f6d [stubsabot] Bump pytz to 2022.4 (#8848)
Release: https://pypi.org/pypi/pytz/2022.4
Homepage: http://pythonhosted.org/pytz

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-10-04 14:46:47 -07:00
Sebastian Rittau
61de308e29 Update pyOpenSSL stubs to 22.1.* (#8838) 2022-10-04 05:29:16 -07:00
Akuli
1cb5482554 Add auto-generated peewee stubs (#8834) 2022-10-04 12:35:07 +02:00
Alex Waygood
f801229f37 fpdf2: Add missing files (#8836) 2022-10-03 17:05:37 -07:00
Alex Waygood
f9b1289226 requests: Add regression test for #8762 (#8835)
The final mypy_primer report for #8762 was an empty diff. Considering the number of issues we've had with our requests stubs over the last year, it feels like it makes sense to add a test case to make sure that it doesn't regress.
2022-10-03 16:11:44 -07:00
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