Commit Graph

7278 Commits

Author SHA1 Message Date
PyHedgehog
87d2683ef9 Add stubs for dockerfile-parse (#9305)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-11-30 22:27:40 +00:00
Avasam
ee69f6085e Added complete Xlib stubs (#9279)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-30 16:10:34 +00:00
Avasam
5c3f10e1df Deduplicate pinned pyright version (#9299)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-30 08:52:55 +00:00
Nikita Sobolev
df0a062b34 Mark passlib as completed (#9302) 2022-11-29 12:07:17 +00:00
Avasam
4366ff1e0b Improve Github syntax highlighting (#9301) 2022-11-29 09:19:28 +00:00
Nikita Sobolev
579a3aa70a Mark PyAutoGUI as complete (#9300) 2022-11-29 09:17:13 +00:00
Avasam
4a6d277733 Simplify pyrightconfigs by removing redundant keys (#9293) 2022-11-28 18:35:35 +00:00
Hoël Bagard
a132ff215d Add stubs for pycocotools (#9086)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-28 12:46:26 +00:00
Nikita Sobolev
ea2ccc3c21 Improve annotations for __instancecheck__, __subclasscheck__ (#9291) 2022-11-28 11:15:02 +00:00
Nikita Sobolev
c6800d1214 sqlalchemy: add return types for known magic methods (#9290) 2022-11-27 23:55:36 -08:00
Nikita Sobolev
a29624ee42 [redis] update to 4.3.5 (#9284) 2022-11-27 22:23:51 -08:00
Nikita Sobolev
7806607df9 Improve error message of Unrecognised platforms specified (#9283) 2022-11-26 14:46:43 +01:00
Jelle Zijlstra
9452ce539c xmlrpc: improve bytes handling (#9166) 2022-11-25 19:33:53 -08:00
Maxwell G
553e7d46f0 Add aiofiles.os.scandir (#9280) 2022-11-25 18:36:00 -08:00
Avasam
087917f2b8 Space out pytype errors (#9281) 2022-11-26 01:32:08 +01:00
Yevhenii Hyzyla
b3bb9038f8 Add methods for Catalog and Message from babel package (#9278)
https://github.com/python/typeshed/issues/9277
2022-11-25 18:36:51 +00:00
Alex Waygood
95c74ba7e1 Minor improvements to tests/regr_test.py (#9274) 2022-11-25 15:03:20 +00:00
Alex Waygood
e2ad6fbe62 Add color back to CI output (#9276) 2022-11-25 15:01:31 +00:00
Alex Waygood
350b3c57da Bump flake8 and flake8-noqa (#9275) 2022-11-25 11:51:00 +00:00
github-actions[bot]
0c03f099ab Bump caldav to 0.11.* (#9253)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-11-25 11:29:30 +00:00
github-actions[bot]
5453c97753 Bump protobuf to 4.21.*; delete google/__init__.pyi (#8360)
This major version bump of the stubs package deletes google/__init__.py, which does not exist at runtime, and caused problems for several users. Mypy now has --namespace-packages enabled by default, which should hopefully mean that this causes minimal pain.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-25 11:28:56 +00:00
github-actions[bot]
21f26ab4f3 [stubsabot] Bump pyvmomi to 8.0.* (#9271)
Release: https://pypi.org/pypi/pyvmomi/8.0.0.1
Homepage: https://github.com/vmware/pyvmomi
Diff: https://github.com/vmware/pyvmomi/compare/v7.0.3...v8.0.0.1

Stubsabot analysis of the diff between the two releases:
 - 3 public Python files have been added: `pyVmomi/Feature.py`, `pyVmomi/Security.py`, `pyVmomi/VmomiJSONEncoder.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `pyVmomi/__init__.py`.
 - Total lines of Python code added: 6229.
 - Total lines of Python code deleted: 5341.

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-25 10:12:24 +00:00
Nikita Sobolev
bdf036d516 check_consistent.py: Add check ensuring packages are not installed for unspecified platforms (#9265) 2022-11-25 10:11:59 +00:00
Jelle Zijlstra
59f35b51b2 pyflakes: fix stubtest (#9273)
Fixes #9272
2022-11-25 09:34:37 +01:00
Jelle Zijlstra
8da1e8c31d marshal: specify allowed types (#9165) 2022-11-24 22:54:09 -08:00
kasium
680d8857d7 Add Call object support for invoke tasks (#8916) 2022-11-24 20:34:50 -08:00
Avasam
be1da49957 Suggestion: SliceableBuffer type alias (#9115)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-11-24 20:14:09 -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
Alex Waygood
89f22278ba Bump flake8-pyi and pytype versions used in CI (#9268) 2022-11-24 14:55:26 +00: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
Nikita Sobolev
6cd33f951d Exclude stubs/cryptoghraphy from CI to fix pyright (#9258)
Fix pyright
2022-11-23 13:18:03 +00:00
Sebastian Rittau
5b4adfde20 Disable pika uploads for now (#9257)
See #9246.
2022-11-23 12:21:04 +00:00
Sebastian Rittau
02942b710c Support "stub_distribution" and "upload" metadata fields (#9256) 2022-11-23 13:05:13 +01:00
Nikita Sobolev
bd75ceb0b6 Fix stdlib stubtest failures on main (#9255)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-23 10:07:05 +00:00
Nikita Sobolev
d633bebbf9 Add a note that if sys.version_info is still required in test_cases (#9254) 2022-11-23 09:04:52 +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
Nikita Sobolev
ae58142e6e Fix typings of ExceptionGroup and BaseExceptionGroup (#9230)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-11-22 20:46:03 -08:00
Sebastian Rittau
a46283c1cc Update fpdf2 stubs to 2.6 (#9236) 2022-11-22 20:44:53 -08:00
Jelle Zijlstra
d2da97d99c urllib: improve bytes handling (#9167) 2022-11-22 16:38:28 -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
Nikita Sobolev
e1aa4d5285 Add types to multiprocessing/reduction.pyi (#9171) 2022-11-22 14:02:14 +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