Commit Graph

1041 Commits

Author SHA1 Message Date
Samuel T
8ca0394ead Bump pyinstaller to 5.6.* (#8981) 2022-10-25 06:39:32 -07:00
github-actions[bot]
e15e007d75 [stubsabot] Bump flake8-bugbear to 22.10.25 (#8980)
Release: https://pypi.org/pypi/flake8-bugbear/22.10.25
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.23...22.10.25

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/b027.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `bugbear.py`.
 - Total lines of Python code added: 194.
 - Total lines of Python code deleted: 35.
2022-10-25 01:35:20 +01:00
github-actions[bot]
ec39d71e61 [stubsabot] Bump flake8-typing-imports to 1.14.* (#8978)
Release: https://pypi.org/pypi/flake8-typing-imports/1.14.0
Homepage: https://github.com/asottile/flake8-typing-imports
Diff: https://github.com/asottile/flake8-typing-imports/compare/v1.13.0...v1.14.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_typing_imports.py`.
 - Total lines of Python code added: 487.
 - Total lines of Python code deleted: 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-10-25 01:34:52 +01:00
Kyle Benesch
6aae57783a Fix pkg_resources.split_sections (#8975)
This function is currently documented as returning a list of lines as
the 2nd pair value.  It does not return plain str here.
2022-10-24 12:58:31 -07:00
Nikita Sobolev
45ccfbc9f3 Remove tree-sitter from pyright's exclude (#8946)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-10-24 09:48:54 -07:00
Shantanu
19f57a6e57 Remove tzlocal from pyright's exclude (#8969) 2022-10-23 14:30:57 +02:00
Alex Waygood
dc7fdc6f5d Fix invoke regression (#8950)
* Fix `invoke` regression
2022-10-21 18:04:22 +01:00
Peter Schutt
25810e1b11 Fixes redis.asyncio.client: AsyncIterator cannot be async def in stubs. (#8961)
Without the `yield` statement in the method body, these are interpreted by mypy as coroutines that return an `AsyncIterator`.

Closes #8960
2022-10-21 09:44:51 -07:00
Sebastian Rittau
fb2eb406a7 dateparser: add negative argument to get_date_from_timestamp (#8954)
Closes #8952
2022-10-21 00:45:53 -07:00
Nipunn Koorapati
f43ee406f1 Bump mypy-protobuf to 3.4.0 (#8951) 2022-10-21 01:26:57 +01:00
Nipunn Koorapati
bcad078264 types-protobuf: Bump the rev of protobuf supported to 4.21.8 (#8937) 2022-10-20 23:23:53 +01:00
Nikita Sobolev
918f2266da Remove editdistance from pyright's exclude (#8941) 2022-10-20 07:15:09 -07:00
Nikita Sobolev
c7983ec8d5 Remove mock from pyright's exclude (#8942) 2022-10-20 07:11:11 -07:00
Nikita Sobolev
b0b0cc6474 Remove pyvmomi from pyright's exclude (#8943) 2022-10-20 07:10:34 -07:00
Nikita Sobolev
4276136d7a Remove simplejson from pyright's exclude (#8945) 2022-10-20 13:22:15 +01:00
Nikita Sobolev
79d331286f Mark python-crontab as completed (#8938) 2022-10-20 09:37:42 +01:00
Nikita Sobolev
27d4113779 Remove consolemenu from pyright's exclude (#8940) 2022-10-20 09:32:04 +01:00
kasium
a9236f9cc9 Add stubs for python-cronlog (#8917)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-19 18:06:55 -07:00
happy-monk
de68029716 psutil: Fix win_service_iter() return type to allow iterating over its result (#8932) 2022-10-19 18:00:15 -07:00
Nikita Sobolev
d9108acc89 Mark parsimonious as completed (#8934) 2022-10-19 17:58:51 -07:00
github-actions[bot]
209ccba739 [stubsabot] Mark xxhash as obsolete since 3.1.0 (#8935)
Release: https://pypi.org/pypi/xxhash/3.1.0
Homepage: https://github.com/ifduyue/python-xxhash
Diff: https://github.com/ifduyue/python-xxhash/compare/v3.0.0...v3.1.0

Co-authored-by: stubsabot <>
2022-10-20 01:41:19 +01:00
Nikita Sobolev
193172efba Mark mock as completed (#8919)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-19 10:40:37 -07:00
Samuel T
96af812c07 pywin32: Remove IID that doesn't exist at runtime (#8930)
Remove IID that doesn't exist at runtime
2022-10-19 07:21:19 -07:00
kasium
2519a2a686 Add types to invoke.Task.__call__ (#8918) 2022-10-19 12:30:35 +01:00
Jelle Zijlstra
f8ae34c34e psutil: add snicstats.flags (#8928)
Fixes #8927 

See 70eecaf44d
2022-10-18 18:04:07 -07:00
github-actions[bot]
7ef1aa5428 [stubsabot] Bump pytz to 2022.5 (#8926)
Release: https://pypi.org/pypi/pytz/2022.5
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-18 17:38:54 -07:00
Alex Waygood
d22ebe7676 Remove stubs for atomicwrites (#8925) 2022-10-18 17:33:28 -07:00
Alex Waygood
03c38d91ae Mark atomicwrites as no longer updated (#8912)
[`atomicwrites`](https://github.com/untitaker/python-atomicwrites) is a package that's only really useful for Python 2/3 compatibility. It's now deprecated, archived, and unmaintained. Prior to #8883 a few days ago, marking the stubs as complete, the typeshed stubs hadn't received any significant updates for several years.

I propose we mark the stubs as no longer updated, and then remove them.
2022-10-17 12:48:21 +02:00
Alex Waygood
9ba68c364a dateutil: Add comment explaining the use of ABCMeta (#8911) 2022-10-17 12:46:48 +02:00
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