Avasam
63e6ea8821
Enable Ruff PLE (Pylint Error) ( #13305 )
2025-03-04 12:11:32 +01:00
Avasam
641ca188ef
Remove setuptools/pkg_resources ( #13369 )
2025-03-04 12:11:10 +01:00
Alex Waygood
e4a8707e9c
Use Stricter pyright settings in CI for watchpoints ( #13577 )
...
The stubs are fully annotated. Fixes https://github.com/AlexWaygood/typeshed-stats/issues/323
2025-03-04 09:31:12 +01:00
renovate[bot]
111eae935c
Update dependency pyright to v1.1.396 ( #13576 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 08:10:35 +01:00
bzoracler
a3a17b0f0e
Add stubs for watchpoints ( #13248 )
2025-03-03 15:17:40 -08:00
Avasam
6f98c59f93
Enable Ruff PLR (Pylint Refactor) ( #13307 )
2025-03-03 18:03:34 +01:00
Sebastian Rittau
3e83e42a0f
Update pyright to v1.1.395; disable a pow() check ( #13564 )
...
pyright and mypy disagree about the exact type due to differing
overloads handling.
---------
Co-authored-by: Avasam <samuel.06@hotmail.com >
2025-03-03 11:49:41 -05:00
cake-monotone
9f11db4296
Improving type support for math.prod ( #13572 )
2025-03-03 16:41:34 +01:00
Stephen Morton
175e700656
Push items down from socketserver.BaseServer to TCPServer ( #13082 )
...
Cf. https://github.com/python/cpython/issues/127209
2025-03-03 16:38:43 +01:00
iconchris
336140b117
Add edges() override in MultiGraph to support the "keys" argument ( #13567 )
2025-03-03 16:03:41 +01:00
Avasam
1e71351016
Allow any sliceable sequence as getopt args ( #13116 )
2025-03-03 15:52:57 +01:00
Avasam
b834c88016
Remove uncompletable TODO in test.yml ( #13570 )
2025-03-03 15:50:44 +01:00
github-actions[bot]
f1d09e3db6
[stubsabot] Bump zstd to 1.5.6.5 ( #13569 )
2025-03-03 15:50:07 +01:00
Avasam
cc206f760d
Drop flake8-noqa and remove workarounds to work with Ruff ( #13571 )
2025-03-03 15:48:59 +01:00
Sebastian Rittau
96c3fe712a
Remove SupportsGetItem.__contains__ ( #13541 )
2025-03-03 15:44:26 +01:00
Avasam
6d6e858e63
Enable Ruff PLC (Pylint Convention) ( #13306 )
2025-03-03 15:39:40 +01:00
Christoph Reiter
738cc5046a
[Deprecated]: fix missing extra_stacklevel kwarg for deprecated() ( #13573 )
2025-03-03 15:35:43 +01:00
github-actions[bot]
e6165eadd6
[stubsabot] Bump pynput to 1.7.8 ( #13565 )
2025-03-01 01:31:26 +01:00
Sebastian Rittau
0b13c1deb6
[setuptools] Update to 75.8.2 ( #13563 )
2025-02-28 14:42:05 -08:00
Sebastian Rittau
bc4473db04
Fix conflicting imports ( #13561 )
2025-02-28 19:20:35 +01:00
Hoël Bagard
20aef1d78f
tensorflow: Change Tensor.__bool__ return from NoReturn to bool (#13562 )
2025-02-28 19:20:14 +01:00
Randolf Scholz
be17dc0ac4
builtins.slice: more precise __new__ overloads and defaults for StopT and StepT. (#13008 )
2025-02-28 13:33:07 +01:00
Avasam
cadaaadfcb
Fix pyinstaller.utils.hooks.collect_entry_point return type ( #13111 )
2025-02-28 13:23:11 +01:00
Sebastian Rittau
f1b121cf29
[configparser] Fix missing fallback argument in SectionProxy.get ( #13559 )
...
Closes : #13556
2025-02-28 03:33:10 -08:00
Stephen Morton
1bd2a358c9
test suite characterizing dict.get() ( #13225 )
2025-02-28 12:18:56 +01:00
Colin Watson
8ebf8af91b
Weaken return type of Path.{glob,rglob} in 3.13 ( #13223 )
...
Since https://github.com/python/cpython/pull/117589 (at least),
`Path.glob` and `Path.rglob` return an `Iterator` rather than a
`Generator`.
2025-02-28 12:15:07 +01:00
Alex Waygood
4b2bed8f5f
Use stricter pyright settings on dirhash in CI ( #13558 )
2025-02-28 09:56:19 +00:00
Toshiki Kataoka
4d8812c64f
fix yield type of tqdm.as_completed ( #13557 )
2025-02-28 10:52:08 +01:00
Pierre Chapuis
b0c6fffe28
Introduce the _HashObject protocol ( #13553 )
...
This protocol corresponds to what is called "hash object" in the hashlib documentation. In particular, it includes the non-OpenSSL BLAKE2 implementations which do not inherit HASH.
2025-02-27 15:31:56 +01:00
Stephen Morton
14605d0c21
Complete importlib.readers ( #13356 )
2025-02-27 14:44:46 +01:00
Matthew Bradbury
3658ba83b8
tqdm: Improve wrapattr ( #13361 )
2025-02-27 14:44:03 +01:00
Lucas Hoffmann
f090e3724d
Fix constructor args for two vobject classes ( #13360 )
2025-02-27 14:08:49 +01:00
Loïc Simon
d0c8ac4d7b
Add stubs for dirhash package ( #13437 )
2025-02-27 14:07:22 +01:00
Alex Waygood
db7dbfe6cf
Use stricter pyright settings when testing hnswlib in CI ( #13552 )
2025-02-27 12:44:40 +00:00
Stephen Morton
40dc55c4be
Major update for the xml module ( #13349 )
2025-02-27 12:50:09 +01:00
mtnpke
0647903db3
Support configparser.UNNAMED_SECTION ( #13542 ) ( #13544 )
2025-02-27 12:19:38 +01:00
Hoël Bagard
8c6493925f
tensorflow: Allow tf.Tensor to be used in __getitem__ (#13549 )
2025-02-27 12:19:20 +01:00
Avasam
62feb28c29
Enable Ruff SIM ( #13309 )
2025-02-26 23:19:36 +01:00
Sebastian Rittau
915a348bfa
Third party stubtest: Print time per distribution ( #13547 )
2025-02-26 21:44:10 +01:00
Leonardo-Pike-Excell
527d724bf4
[networkx] Add annotations for MultiDiGraph ( #13319 )
2025-02-26 15:20:45 +01:00
Hoël Bagard
a1c185b0b2
tensorflow: add a few TensorFlow functions (#13364 )
2025-02-26 15:07:07 +01:00
Daniel Darabos
84c78c6442
Extract NetworkX types from docstrings ( #13458 )
2025-02-26 15:03:13 +01:00
Sebastian Rittau
9da1df60be
Update an itertool recipe from Python docs ( #13543 )
2025-02-26 14:04:04 +01:00
Victor Westerhuis
bef43fc46e
Relax functools.update_wrapper's parameter types ( #13491 )
2025-02-26 12:59:39 +01:00
Lennart Behme
2d4d7be276
[hnswlib] Add ArrayLike annotations and raise Numpy dependency ( #13538 )
2025-02-26 09:00:23 +01:00
Sabfo
2ca92a4140
PyInstaller: Complete types in build_main.pyi ( #13528 )
...
Co-authored-by: sobolevn <mail@sobolevn.me >
2025-02-25 21:40:38 +03:00
David Salvisberg
c4d7283c75
WebOb: Fix various issues and refactor some things ( #13487 )
2025-02-25 12:38:27 +01:00
Avasam
af32625bd4
setuptools._distutils typing improvements from merging types upstream (#13534 )
2025-02-25 00:51:37 +01:00
Brian Schubert
c27e41c33b
Make various email.Policy use sites generic over the message type ( #13274 )
2025-02-23 20:28:43 +01:00
Lennart Behme
9135645c30
Add type annotations for hnswlib ( #13529 )
2025-02-23 19:51:47 +01:00