Commit Graph

8898 Commits

Author SHA1 Message Date
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
renovate[bot]
92971b53a6 chore(deps): update dependency pytype to v2024.3.19 (#11630) 2024-03-20 03:53:28 +01:00
Avasam
57dee8fd5b Improved pywin32 error and exception classes (#11613) 2024-03-18 14:17:30 -06:00
Jay Qi
cc5f23ac14 Add init to NameError stub with name keyword argument (#11627)
Co-authored-by: Jay Qi <jayqi@users.noreply.github.com>

Closes #11626
2024-03-18 12:08:25 -06:00
Sebastian Rittau
adde7cc3ac Use Final = ... instead of Final[Literal] (#11623) 2024-03-17 14:12:16 +00:00
Sebastian Rittau
6d45cf6e18 Remove pyright version from pyproject.toml (#11622) 2024-03-17 14:09:15 +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
Sebastian Rittau
a8997209fb Install pyright from PyPI (#11575) 2024-03-16 14:14:31 +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
Ali Hamdan
82d84c758c Improvements to the contributing guide (#11615) 2024-03-15 22:35:07 +00:00
Sebastian Rittau
9841c255ee Replace Any in optparse (#11599)
Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com>
2024-03-15 22:33:52 +01: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
Ismail S
a20f54663c Add taskName to LogRecord (#11609) 2024-03-15 15:34:13 +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
Patrick Rauscher
3d138380c2 Allow slices for SynchronizedArray (#11573) 2024-03-15 13:10:16 +01:00
Sebastian Rittau
0b1e5d3f34 stubsabot: Skip test files in diff analysis (#11606) 2024-03-15 13:08:40 +01:00
Patrick Rauscher
6943dcd03f Fix typing of multiprocessing.Value and Array (#11576) 2024-03-15 12:50:48 +01:00
Alex Waygood
2334b06abf Go back to using py311 for regr-test.py for now (#11604) 2024-03-15 11:55:13 +01:00
Matthew Hoffman
53443ac4d0 [psutil] add settable info property (#10275) 2024-03-15 10:16:06 +01:00
Jelle Zijlstra
1a275547b4 CONTRIBUTING.md: Add PR closing policy (#11596)
Closes #11583

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-03-14 22:06:26 -07: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
Alex Waygood
0f4a2dfec4 pin uv to 0.1.18 (#11598)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2024-03-14 11:46:03 +00: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
Alex Waygood
7894b095eb Renovate config: give the dependency groups better names (#11589) 2024-03-13 10:49:27 +00:00
Alex Waygood
382c046e9b fix renovate config (#11587) 2024-03-13 10:38:15 +00:00
Alex Waygood
c3f363ce33 Use stricter pyright settings for pygit2 (#11585) 2024-03-13 10:30:46 +00:00
Alex Waygood
405494891c Setup renovate for updating dependencies (#11565) 2024-03-13 10:27:03 +00:00
shawnbrown
ea6dac40d4 sqlite3: handle return-type with factory argument. (#11571) 2024-03-13 09:14:08 +01: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
Sebastian Rittau
417bdb9ac9 Refactor and merge requirements parsing (#11581) 2024-03-12 16:34:47 +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
Sebastian Rittau
4c5c5760cf email.message: Allow any header value (#11574) 2024-03-11 17:47:00 -04: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