Commit Graph

2002 Commits

Author SHA1 Message Date
Sebastian Rittau
2e240c9b08 Update flake8-builtins to 2.3.* (#11669) 2024-03-30 16:42:07 -04:00
Avasam
f36714b0fb Various pywin32 improvements (#11616) 2024-03-30 19:55:30 +01:00
Adam Dangoor
9d2f651818 Add annotations to docutils.parsers.rst.directives.parts (#11667) 2024-03-30 09:10:41 +01:00
kasium
cc4b1cbbb3 Improve hvac adapter types (#11659) 2024-03-28 21:57:25 +01:00
Simon Kalt
ed10e7eba6 Improve passlib.totp types (#11660) 2024-03-26 19:35:41 +01:00
Eemeli Aro
5a75515ef4 polib: Fix POEntry.occurrences (#11661) 2024-03-26 14:13:29 +01:00
peace-maker
d78ce5906b Run gdb stubtests (#11644)
The gdb package is only available inside gdb and cannot be installed externally through e.g. pip.
Run the stubtest inside gdb.
2024-03-26 10:57:35 +01:00
kasium
db8e620e3d Add type stubs for hvac (#11591) 2024-03-25 12:13:15 +01:00
Viktor
f337eb8a51 [Pillow] Annotate ImageSequence.pyi (#11625) 2024-03-23 14:11:29 +01:00
github-actions[bot]
9102941997 [stubsabot] Bump requests-oauthlib to 2.0.* (#11649)
Release: https://pypi.org/pypi/requests-oauthlib/2.0.0
Homepage: https://github.com/requests/requests-oauthlib
Repository: https://github.com/requests/requests-oauthlib
Diff: https://github.com/requests/requests-oauthlib/compare/v1.4.0...v2.0.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/examples/__init__.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `requests_oauthlib/__init__.py`.
 - Total lines of Python code added: 2.
 - Total lines of Python code deleted: 4.
2024-03-23 08:16:48 +00:00
peace-maker
9dcadd2d57 Overload gdb.execute return type (#11638) 2024-03-21 17:06:58 +01:00
Alex Waygood
7acaa912b0 Mark types-paho-mqtt as obsolete since v2.0.0 (#11635) 2024-03-20 12:43:14 +01:00
Sebastian Rittau
b67804ab6d [croniter] Update to 2.0.3 (#11631) 2024-03-20 07:31:52 +00:00
github-actions[bot]
3f2ff5b257 [stubsabot] Bump hdbcli to 2.20.* (#11628) 2024-03-20 04:33:19 +01:00
Avasam
57dee8fd5b Improved pywin32 error and exception classes (#11613) 2024-03-18 14:17:30 -06:00
Sebastian Rittau
adde7cc3ac Use Final = ... instead of Final[Literal] (#11623) 2024-03-17 14:12:16 +00:00
Alex Waygood
d436110d13 Add distutils as a top-level package included with types-setuptools (#10948) 2024-03-16 16:44:47 +00:00
danieleades
fa9dc6dd69 improve type annotations in 'docutils.nodes.Element' (#11539) 2024-03-16 17:08:00 +01:00
WÁNG Xuěruì
0ad1501a99 pygit2: Workaround python/mypy#16972 (#11584)
To fix the signatures of `clone_repository` and `init_repository` as
seen by type checkers.
2024-03-16 14:14:15 +01:00
Avasam
ff7caa30e2 setuptools&distutils: setup returns a Distribution (#11617)
`setup` returns a `Distribution`
2024-03-16 12:06:37 +00:00
Sebastian Rittau
3581846069 Bump influxdb-client to 1.41.* (#11608) 2024-03-15 17:07:47 +01:00
Maico Timmerman
bd33ada0e3 python-dateutil: respect inheritance on relativedelta.__rsub__ (#11462) (#11463) 2024-03-15 17:06:54 +01:00
Sebastian Rittau
37ebe904ed [Markdown] Bump to 3.6.* (#11607) 2024-03-15 07:10:23 -07:00
danieleades
a35b769410 improve type annotations in 'docutils.utils.Reporter' (#11521) 2024-03-15 13:25:10 +01:00
Matthew Hoffman
53443ac4d0 [psutil] add settable info property (#10275) 2024-03-15 10:16:06 +01:00
Avasam
8e2ce00623 Bump setuptools to 69.2.* (#11603) 2024-03-14 22:04:34 -07:00
David Salvisberg
449f70f1f1 Bump requests-oauthlib to 1.4.* (#11601) 2024-03-14 23:36:19 +01:00
github-actions[bot]
5e642aa7fe [stubsabot] Bump python-dateutil to 2.9.* (#11518)
Co-authored-by: stubsabot <>
2024-03-14 21:26:29 +00:00
danieleades
5b84210a62 improve type annotations in 'docutils.parsers.rst.directives' (#11597) 2024-03-14 13:57:18 +01:00
renovate[bot]
48106feed7 chore(deps): update pytype and pyright (#11595) 2024-03-14 09:28:09 +01:00
danieleades
a1bfd65e9f improve type annotations in 'docutils.statemachine' (#11469) 2024-03-13 19:10:40 +01:00
Thanos
64f009155e [RPi.GPIO] General improvement of stubs. (#11516) 2024-03-13 16:25:15 +01:00
danieleades
15536bd391 improve type annotations in 'docutils.parsers.rst.directives.misc' (#11524)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-13 06:44:58 -07:00
Hoël Bagard
8558307188 tensorflow: Add tensorflow.keras.models.Model (#11334)
Based on:

- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/saved_model/__init__.pyi
- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/types/experimental.pyi
2024-03-12 21:01:09 -07:00
Hoël Bagard
6c52322be6 tensorflow: Add missing members to the tensorflow.keras.layers module. (#11333)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Rebecca Chen <rechen@google.com>
2024-03-12 20:45:47 -07:00
Hoël Bagard
56bb53aea7 tensorflow add tensorflow.saved_model (#11439)
Based on:
- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/saved_model/__init__.pyi
- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/types/experimental.pyi
2024-03-12 20:30:11 -07:00
Alex Waygood
8a9dcb1967 Make stubtest work on pyscreeze if you're using py312 (#11582) 2024-03-12 23:04:57 +01:00
WÁNG Xuěruì
e960f2ff77 pygit2: Add missing Repository fields (#11579) 2024-03-12 11:38:44 +01:00
WÁNG Xuěruì
9a4b605065 Add stubs for pygit2 (#11374)
The upstream library is very tricky to type (likely requires nontrivial
refactoring), and only contains partial type information, but stubs are
a lot easier because only the public signatures are involved this way,
so I plan to first make the library usable in typed projects by making
stubs available here, then gradually work my way upstream.

The stubs are auto-generated then completed with fully manual inspection
of every Python source file. The `_pygit2.pyi` comes from upstream and
is mostly untouched except for required style changes, the signature of
`options()`, and `FilterSource` which is missing from upstream.
2024-03-11 22:48:12 -07:00
Avasam
dea4dd1dc1 pywin32: Correctly reference TimeType aka pywintypes.datetime (#11577)
* Correctly reference TimeType

* PyUnicode is UnicodeType
2024-03-11 22:42:51 -07:00
Rebecca Chen
a4cc79fbec networkx: add another overload to OutEdgeView.__call__(). (#11578)
It's common to call the 'edges' property of a DiGraph with an 'nbunch'
argument and no other arguments (see the Examples section of
https://networkx.org/documentation/stable/reference/classes/generated/networkx.DiGraph.out_edges.html).
None of the existing overloads allow this.
2024-03-11 19:42:55 -07:00
Avasam
579d208b19 Add deprecation decorator and comments for pywin32 (#11570)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-11 12:36:44 -07:00
Alex Waygood
3802899a01 Bump google-cloud-ndb to 2.3.* (#11566) 2024-03-11 00:22:14 +01:00
Avasam
354ecd084f Bump pyinstaller to 6.5.* (#11563) 2024-03-10 16:32:56 +00:00
Alex Waygood
24d39de94b Use Python 3.11 for third-party stubtest in CI (#11562) 2024-03-10 08:01:38 -07:00
Avasam
1a942aa36d Replace Flake8 checks with Ruff (except for flake8-pyi) (#11496)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-10 14:35:45 +00:00
Alex Waygood
55205a4ce6 Make stubtest pass on libsass/passlib/redis/tree-sitter if you're using Python 3.12 (#11561) 2024-03-10 14:16:34 +00:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
Avasam
63737acac6 pkg_resources: Make _InstallerType stricter and generic (#11527) 2024-03-09 14:37:10 -08:00
Tony Narlock
96e62dd757 docutils: Use ClassVar for Directive class variables (#11550)
These are intended to be set as class variables, in subclasses of Directive, rather
than instance variables.

See also:
- https://docutils.sourceforge.io/docs/howto/rst-directives.html#the-directive-class
- https://docutils.sourceforge.io/docs/howto/rst-directives.html#admonitions
2024-03-09 14:28:35 -08:00