Commit Graph

2259 Commits

Author SHA1 Message Date
Peter Bierma 119b204ed1 Fix type hint for msgctxt parameter in polib (#12506) 2024-08-10 09:33:50 +02:00
Sebastian Rittau 92cc568325 [PyYAML] stubtest: Ignore auto-generated methods (#12497) 2024-08-07 11:28:37 +02:00
Adin W-T cfb33ac1bd Add reexport to RemoteCallbacks in pygit2 (#12483) 2024-08-05 10:52:23 +02:00
sobolevn 6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Ali Hamdan 0bc7b4fd5a Remove numpy version pin for several stubs(#12476) 2024-08-03 11:52:55 +01:00
Radik Islamov 17af88919f Add stubs for TgCrypto (#12469) 2024-08-01 16:52:17 +02:00
Peter Bierma df29ce93ac Allow simplejson encoding arguments to be None. (#12466)
Allow None in encoding parameter.
2024-07-31 19:10:10 -07:00
sobolevn fa70187245 Bump croniter to 3.0.3 (#12443) 2024-07-30 11:51:47 +02:00
Sebastian Rittau a21c4bc4f1 Pin croniter to 3.0.0 (#12434) 2024-07-26 15:56:06 +02:00
Avasam ac8720b99d Setuptools stubs update from merging upstream (#12400) 2024-07-25 16:46:22 +02:00
Sebastian Rittau 8fb8a4a489 Mark redis as obsolete (#12426) 2024-07-25 15:12:11 +02:00
Avasam 2aeb777cde Replace bare Any in setuptools (#12406) 2024-07-25 13:38:07 +02:00
sobolevn 421ac91a30 Bump croniter to 3.0.* (#12422) 2024-07-25 13:11:39 +02:00
github-actions[bot] f370767c3f [stubsabot] Bump regex to 2024.7.24 (#12424) 2024-07-25 01:48:39 -07:00
sobolevn db6272b650 Bump braintree to 4.29.* (#12421) 2024-07-24 21:08:08 +01:00
Avasam 0b1d35829b setuptools & distutils: ClassVar mutables (and tuples) (#12403) 2024-07-23 14:17:02 +02:00
Avasam ef42f3b765 distutils: Type execute using TypeVarTuple (#12405) 2024-07-23 13:16:14 +01:00
sobolevn ce9f32db8d Improve yaml/constructor.pyi types (#12404) 2024-07-23 14:08:47 +02:00
danieleades ab748d34f0 Add type annotations for 'docutils.writers.latex2e.Babel' (#12394) 2024-07-23 13:56:38 +02:00
danieleades 08f89019c6 Add docutils.utils.roman (#12393) 2024-07-23 13:39:50 +02:00
Vinícius Gonçalves de Oliveira 128d8eb904 ExifRead: Fix Reader.__iter__() (#12402)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-07-22 19:16:14 +03:00
Avasam 6ddef4333d Bump setuptools to 71.1.* and mark pkg_resources as obsolete (#12397) 2024-07-22 13:23:39 +02:00
Avasam 1b560bbf6a Bump setuptools to 71.0.* (#12381) 2024-07-21 13:09:27 +02:00
Derek Horkel aae471feff add some missing or incorrect types to peewee (#12251) 2024-07-20 21:43:18 -07:00
sobolevn 0782c2931c Bump croniter to 2.0.* (#12364) 2024-07-20 21:39:09 -07:00
github-actions[bot] 7d82517256 [stubsabot] Mark pyOpenSSL as obsolete since 24.2.1 (#12387)
Release: https://pypi.org/pypi/pyOpenSSL/24.2.1
Homepage: https://pyopenssl.org/
Repository: https://github.com/pyca/pyopenssl
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/pyOpenSSL
Diff: https://github.com/pyca/pyopenssl/compare/24.1.0...24.2.1
2024-07-20 21:27:27 -07:00
Nelson Yeung 389b318691 [docker] Add restart_policy type annotation to Container model (#12366) 2024-07-19 18:39:29 +02:00
Noam cc7c950381 Openpyxl fixes for worksheet and image. (#12363) 2024-07-18 16:41:45 +02:00
Noam 6b919d76e2 Add dimensions for openpyxl Image. (#12362) 2024-07-18 12:28:39 +02:00
Alex Waygood 6d68b57d74 Pin croniter to 2.0.5 (#12356) 2024-07-17 01:47:08 +01:00
sobolevn 274b10da70 Bump cachetools to 5.4.* (#12353) 2024-07-16 14:07:42 +01:00
Alex Waygood 16341c749a Fix stubtest for shapely (#12339)
Fixes #12338
2024-07-13 17:56:29 -07:00
sobolevn 4740d320c5 Bump pygit2 to 1.15.* (#12319) 2024-07-13 17:38:05 +02:00
BJ Hargrave f6eb38bddd Update assertpy/string.pyi to correct type of pattern arg (#12235)
The methods requires the pattern arg to be of type str, not Pattern.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>
2024-07-11 17:16:10 -07:00
Andria Brown ee24958e1e requests: Add connection property (type HTTPAdapter) to the Response class (#12279)
The `Response` instance is built by `HTTPAdapter`. When built, a property called `connection` is added to the `Response` that points back to the `HTTPAdapter` that created it. For example, this is used in the `requests` library's `HTTPDigestAuth` class to remake requests with credentials after authorization is requested by a server.
2024-07-11 17:09:07 -07:00
github-actions[bot] 96c8ade843 [stubsabot] Bump peewee to 3.17.6 (#12290)
Release: https://pypi.org/pypi/peewee/3.17.6
Homepage: https://github.com/coleifer/peewee/
Repository: https://github.com/coleifer/peewee
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/peewee
Diff: https://github.com/coleifer/peewee/compare/3.17.5...3.17.6

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: `peewee.py`.
 - Total lines of Python code added: 234.
 - Total lines of Python code deleted: 61.
2024-07-11 17:08:29 -07:00
Sebastian Rittau eb0422195e [jsonschema] Update to 4.23.* (#12301) 2024-07-11 17:02:11 -07:00
M Bussonnier b17ed95818 Docutils: wrong type: SystemMessage vs system_message (#12314) 2024-07-10 17:50:52 +02:00
sobolevn 57c524d822 [flake8] Improve Statistic typing (#12313) 2024-07-10 11:03:43 +01:00
Oguzhan Mete Ozturk 6db5f35f4d [docker] Update ports type annotation (#12284) 2024-07-10 11:57:27 +02:00
sobolevn e8cc1e46fe Add _write method to flake8.formatting.BaseFormatter (#12312)
It is very useful for real-life custom formatters. Example: https://github.com/wemake-services/wemake-python-styleguide/blob/470d81174684eb9a175603aec02f0ac6589b8acd/wemake_python_styleguide/formatter.py#L92-L96

Definition: https://github.com/PyCQA/flake8/blob/65a38c42a7f1a05ff8d99b313160754fc9b7a0d8/src/flake8/formatting/base.py#L173-L178
2024-07-10 12:41:40 +03:00
github-actions[bot] 9f24a1f523 [stubsabot] Bump setuptools to 70.3.* (#12308)
Release: https://pypi.org/pypi/setuptools/70.3.0
Repository: https://github.com/pypa/setuptools
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.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: `setuptools/_distutils/sysconfig.py`.
 - Total lines of Python code added: 35.
 - Total lines of Python code deleted: 2.

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 <>
2024-07-10 02:26:59 +01:00
danieleades 694c982b4f improve type annotations in 'docutils.parsers.rst.states' (#11545) 2024-07-09 14:00:57 +02:00
github-actions[bot] f4dfa5ada0 [stubsabot] Bump pyinstaller to 6.9.* (#12289)
Co-authored-by: stubsabot <>
2024-07-09 02:20:45 -04:00
Alex Waygood 95176bde5f Pin pygit2 to 1.15.0 (#12293)
Fixes #12292
2024-07-08 01:46:49 +01:00
danieleades 5305de8327 remove generic 'context' from 'docutils.parsers.rst.RSTState' (#12291) 2024-07-07 11:49:44 +02:00
sobolevn 99c1b7102a is_lazy_fixture in pytest-lazy-fixture is a TypeIs function (#12285) 2024-07-06 11:51:03 +01:00
ZivRonen 2ea26f7da6 add stub library for str2bool (#12260) 2024-07-03 20:30:32 -07:00
Matt e67340b98c Add global_context keyword to gdb.parse_and_eval in GDB stub (#12269) 2024-07-03 11:00:29 -07:00
Adam Dangoor ea34c97ccc Expand docutils.parsters.rst.states (#12226) 2024-07-03 14:23:56 +02:00