Commit Graph

1149 Commits

Author SHA1 Message Date
kasium
680d8857d7 Add Call object support for invoke tasks (#8916) 2022-11-24 20:34:50 -08:00
github-actions[bot]
5f5449bcdf Bump pyflakes to 3.0.* (#9264)
Release: https://pypi.org/pypi/pyflakes/3.0.0
Homepage: https://github.com/PyCQA/pyflakes
Diff: https://github.com/PyCQA/pyflakes/compare/2.5.0...3.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.
 - 4 files included in typeshed's stubs have been modified or renamed: `pyflakes/__init__.py`, `pyflakes/api.py`, `pyflakes/checker.py`, `pyflakes/messages.py`.
 - Total lines of Python code added: 80.
 - Total lines of Python code deleted: 446.

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-11-24 11:40:41 -08:00
Alex Waygood
b3728f38f5 Add test case for recent types-regex regression (#9269) 2022-11-24 11:37:12 -08:00
Tom Milligan
b1ec9be66b regex: fix type signatures using Scanner (#9266) 2022-11-24 13:57:24 +01:00
Avasam
7050c1d907 Add support for Homebrew and Chocolatey (#9187) 2022-11-24 07:17:17 +00:00
Alex Waygood
67c8b5cb22 pycurl: Add a few missing constants (#9262) 2022-11-23 23:31:16 +00:00
Alex Waygood
01e78c7e81 Use modern syntax in test-case files where possible (#9261) 2022-11-23 11:58:11 -08:00
Sam Bull
956690dec2 protobuf: Add some return types (#9259) 2022-11-23 16:17:39 +00:00
Sebastian Rittau
5b4adfde20 Disable pika uploads for now (#9257)
See #9246.
2022-11-23 12:21:04 +00:00
Nikita Sobolev
f8dfb5f725 Mark regex as completed (#9214) 2022-11-22 21:03:01 -08:00
Nikita Sobolev
a580eda64e Mark pynput as completed (#9235) 2022-11-22 20:46:29 -08:00
Sebastian Rittau
a46283c1cc Update fpdf2 stubs to 2.6 (#9236) 2022-11-22 20:44:53 -08:00
Gabriel Smith
dfa6a75af6 tqdm: Add missing tqdm.monitor class variable (#9249)
Co-authored-by: Gabriel Smith <gabriel.smith@precisionot.com>
2022-11-22 19:39:14 +00:00
kasium
ed52f68e53 Add stubs for flask-migrate (#8967)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-22 16:18:30 +00:00
Sebastian Rittau
20a35057fa Further annotate pika (#9240) 2022-11-22 11:55:43 +00:00
Nikita Sobolev
40d4676d6a __unicode__ always returns str (#9248) 2022-11-22 11:52:03 +00:00
Alex Waygood
a3de404e1d Pin redis to 4.3.4 in CI (#9247)
We're about to get a daily test failure with 63 stubtest errors (see the Ubuntu stubtest failure in #9187) due to the release of redis-py 4.3.5, and I'd rather that didn't happen.
2022-11-22 12:46:42 +01:00
Nikita Sobolev
18e2ae762b Mark first argument of __[get|set|del]attr__ as str (#9245) 2022-11-22 11:06:50 +00:00
Nikita Sobolev
3026610797 Mark polib as complete (#9244) 2022-11-22 10:18:49 +00:00
Alex Waygood
0a5202222c dateparser: delete DIGIT_USE_PATTERN (#9243)
Fixes #9242
2022-11-21 19:53:56 -08:00
Avasam
b9491f962b Add missing symbols in pycurl stubs (#9207) 2022-11-21 23:37:14 +00:00
Sebastian Rittau
ebb5bddbdc Initial pika stubs (#9200) 2022-11-21 19:31:21 +01:00
Nikita Sobolev
a948ef02d5 Finish slumber annotations (#9237) 2022-11-21 17:48:46 +01:00
Nathaniel J. Smith
c161827d6d colorama: re-export just_fix_windows_console at top level (#9234) 2022-11-21 09:39:38 +00:00
Nikita Sobolev
8a46e34bc3 Mark pyRFC3339 as completed (#9233) 2022-11-21 09:16:48 +00:00
Nikita Sobolev
b58d0df349 Mark pytest-lazy-fixture as completed (#9229) 2022-11-20 06:37:55 -08:00
github-actions[bot]
c10ed87f6e [stubsabot] Bump setuptools to 65.6.* (#9227)
Release: https://pypi.org/pypi/setuptools/65.6.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v65.5.1...v65.6.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.
 - 40 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 637.
 - Total lines of Python code deleted: 630.

Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-19 16:49:37 -08:00
Alex Waygood
f62f402127 python-slugify: use explicit re-exports (#9225)
Fixes https://github.com/python/typeshed/pull/9224#discussion_r1027053364
2022-11-19 06:47:34 -08:00
Nikita Sobolev
ffc528f373 Mark python-nmap as completed (#9226) 2022-11-19 13:47:41 +00:00
github-actions[bot]
7e77208f8a [stubsabot] Bump python-slugify to 7.0.* (#9224)
Release: https://pypi.org/pypi/python-slugify/7.0.0
Homepage: https://github.com/un33k/python-slugify
Diff: https://github.com/un33k/python-slugify/compare/v6.1.2...v7.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.
 - 2 files included in typeshed's stubs have been modified or renamed: `slugify/__init__.py`, `slugify/__version__.py`.
 - Total lines of Python code added: 11.
 - Total lines of Python code deleted: 3.
2022-11-18 17:41:57 -08:00
Nikita Sobolev
ba2597daa9 Mark python-slugify as completed (#9222) 2022-11-18 10:50:20 +00:00
Nikita Sobolev
a21aa2fe26 Mark six as completed (#9221) 2022-11-18 10:32:30 +00:00
Harshal Sheth
c7431181b3 click_spinner: make arguments optional (#9220)
Matches the code, where these arguments are not required: https://github.com/click-contrib/click-spinner/blob/master/click_spinner/__init__.py
2022-11-17 00:47:37 -08:00
github-actions[bot]
8086ae7f44 [stubsabot] Bump flake8-rst-docstrings to 0.3.* (#9218)
Release: https://pypi.org/pypi/flake8-rst-docstrings/0.3.0
Homepage: https://github.com/peterjc/flake8-rst-docstrings
Diff: https://github.com/peterjc/flake8-rst-docstrings/compare/v0.2.7...v0.3.0

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `tests/RST214/plurals.py`, `tests/RST215/plurals.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `flake8_rst_docstrings.py`.
 - Total lines of Python code added: 38.
 - Total lines of Python code deleted: 54.

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-11-17 00:25:58 +00:00
Nikita Sobolev
c6261372d7 Always use bool and Literal for Python compat code (#9213) 2022-11-16 18:00:59 +00:00
Nikita Sobolev
9137258cf4 Add exact **kwargs types to dateutil.parser.parse (#9212)
Closes #9122
2022-11-16 07:25:19 -08:00
Avasam
41d508472a Add missing symbols in pyaudio stubs (#9206)
Split off from #9187
Turned off `ignore_missing_stub` for pyaudio stubs.
Ensured it's valid for Windows and MacOS.
2022-11-16 06:23:08 -08:00
Quentin Pradet
0fbe70f709 Fix urllib3 Url.port type (#9208) 2022-11-16 10:23:50 +01:00
Avasam
7863d53db8 Add missing symbols in JACK-Client stubs (#9205)
`ignore_missing_stub = false` and completed on Windows & MacOS
2022-11-15 18:14:52 -08:00
Nikita Sobolev
64bb9ef8b3 Complete singledispatch stub (#9201) 2022-11-15 17:09:45 +01:00
github-actions[bot]
dc072ea937 [stubsabot] Bump simplejson to 3.18.* (#9198)
Release: https://pypi.org/pypi/simplejson/3.18.0
Homepage: https://github.com/simplejson/simplejson
Diff: https://github.com/simplejson/simplejson/compare/v3.17.6...v3.18.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.
 - 3 files included in typeshed's stubs have been modified or renamed: `simplejson/__init__.py`, `simplejson/decoder.py`, `simplejson/encoder.py`.
 - Total lines of Python code added: 63.
 - Total lines of Python code deleted: 25.

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-11-15 00:26:37 +00:00
Steve Dignam
1733c46058 stripe: fix test clocks imports (#9137) 2022-11-14 12:44:31 +01:00
Avasam
ede6387510 Comments explaining why keyboard and tzlocal are not run on multiple platforms (#9188) 2022-11-14 11:42:17 +01:00
kasium
f9cd5ee859 Improve ast types; revert several "redundant numeric union" changes from #7906 (#9130)
* Adapt number types in ast

Since mypy  0.990 type promotions was limited.
This means that complex is not longer promoted to int/float, therefore
we should adapt the types to list all possible types

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-11-14 09:41:23 +00:00
Jonah Lawrence
892bc0283a Improvements to existing Babel types (#9190) 2022-11-13 12:51:54 -08:00
Avasam
033d21e775 Complete stubtest for aiofiles + fix on Windows (#9184) 2022-11-13 06:45:20 -08:00
Avasam
82c0ea7bd5 Run stubtest on Windows for waitress (#9181) 2022-11-13 06:42:20 -08:00
Nikita Sobolev
005801d34d Mark ttkthemes as complete (#9186) 2022-11-13 11:12:48 +00:00
Nikita Sobolev
d3b63b88d3 Mark toml as complete (#9185) 2022-11-13 11:11:47 +00:00
github-actions[bot]
1aab9d136a [stubsabot] Bump SQLAlchemy to 1.4.44 (#9182)
Release: https://pypi.org/pypi/SQLAlchemy/1.4.44
Homepage: https://www.sqlalchemy.org

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-11-12 16:36:15 -08:00