Commit Graph

11175 Commits

Author SHA1 Message Date
Sebastian Rittau c44315913b Remove obsolete pyright setting "reportShadowedImports" (#15027)
Removed in 1.1.406: https://github.com/microsoft/pyright/releases/tag/1.1.406
2025-11-14 12:45:16 -08:00
Guo Ci 0244ef7748 [stdlib][os] Change some str types to LiteralString (#15018) 2025-11-14 21:42:26 +01:00
lev-blit 79ac2bce40 [python-crontab] fill in incompletes (#15026) 2025-11-14 21:40:07 +01:00
Guo Ci 9309968211 [stdlib] Add __interactivehook__ to sys module (#15024) 2025-11-14 21:39:34 +01:00
Guo Ci 70fee29cc2 [stdlib][threading] Add threading.__excepthook__ (#15023) 2025-11-14 21:39:18 +01:00
Gabe R. c453da93bf Add TypeVars for the Iterators in select.select (#15022) 2025-11-14 21:26:19 +01:00
Semyon Moroz 0c0bad8831 [unittest] Improve annotations of three_way_cmp (#15003) 2025-11-14 17:02:11 +01:00
Semyon Moroz 191fa401ff [parsimonious] Update to 0.11.* (#15021) 2025-11-13 09:50:52 +01:00
Alex Waygood 5c8b7fcbbe Use stricter pyright config settings for all of pytz (#15014) 2025-11-11 13:38:47 +00:00
Semyon Moroz 017aed4dce [aws-xray-sdk] Annotate more (#15004) 2025-11-10 18:19:41 +01:00
Stan Ulbrych 4239e94a31 [tzdata] Add package stubs (#14997) 2025-11-10 10:19:58 +01:00
Semyon Moroz acff00e773 [ttkthemes] Update to 3.3.* (#15009) 2025-11-10 09:37:46 +01:00
Semyon Moroz e2bc120079 [psutil] Use Incomplete instead of Any (#15010) 2025-11-10 08:58:36 +01:00
Guo Ci 904ea9ec02 Add utf8_enabled attribute to IMAP4 class (#15006) 2025-11-09 21:16:47 +00:00
Guo Ci b96b61efad Add blocksize attribute to HTTPConnection class (#15005) 2025-11-09 21:01:50 +00:00
Ravencentric 5aea29705b make stat.FILE_ATTRIBUTE_* available on all platforms (#14866) 2025-11-08 17:43:53 +01:00
lev-blit e524443825 [python-dateutil] add some missing parameter types (#14992) 2025-11-07 22:00:29 +01:00
Guo Ci f7ff48e6cb sys.monitoring: Add/correct missing items (#14991) 2025-11-07 17:14:58 +01:00
lev-blit ba57b7dd32 [netaddr]: Annotate missing parameter types (#14990) 2025-11-07 17:05:25 +01:00
lev-blit ec2714cdb9 [pytz] Annotate parameter fill_iter (#14989) 2025-11-07 16:47:33 +01:00
Felix 901ffdc238 Initial colorful stubs (#14939) 2025-11-07 11:25:18 +01:00
Semyon Moroz b3787bc6d4 [webencodings] Add stubs (#14988) 2025-11-07 11:09:41 +01:00
Semyon Moroz 8bed33f9c2 [qrbill] Update to 1.2.* (#14987) 2025-11-07 09:10:00 +01:00
github-actions[bot] 94f2380ac7 [stubsabot] Bump icalendar to 6.3.2 (#14985) 2025-11-06 09:25:25 +01:00
Rickey K. Liang 65b8a85e4b Add annotations to networkx.algorithms.approximation.treewidth (#14983) 2025-11-05 17:46:59 +01:00
Hugo Kerstens d96c888e32 networkx: fix link argument deprecation warning (#14982) 2025-11-05 17:13:22 +01:00
github-actions[bot] 04cb953a2d [stubsabot] Bump regex to 2025.11.3 (#14977) 2025-11-05 16:13:22 +01:00
github-actions[bot] 7dc45ab9e0 [stubsabot] Bump fanstatic to 1.6.* (#14981) 2025-11-05 16:13:08 +01:00
Sebastian Rittau 07b69ab9e9 [uuid] Replace properties with Final fields (#14968) 2025-11-05 14:04:00 +01:00
Semyon Moroz 83a39d1d41 [Markdown] Update to 3.10.* (#14978) 2025-11-05 09:52:59 +01:00
Michael H 29f78ddcd1 Amend annotation for asyncio.Protocol.__slots__ (#14980) 2025-11-04 17:13:12 -05:00
Semyon Moroz 546dd282c3 [html.parser] Add scripting param for later patch releases (#14979) 2025-11-04 17:37:43 +01:00
github-actions[bot] 551ea9d09d [stubsabot] Bump peewee to 3.18.3 (#14976)
Co-authored-by: stubsabot <>
2025-11-04 09:38:21 -05:00
Alex Waygood eca15d9654 Put all mypy_test.py version parsing in mypy_test.py (#14974) 2025-11-03 15:30:38 -05:00
Guo Ci 37dceef034 Add locale.localize (#14970) 2025-11-03 19:01:04 +01:00
Sebastian Rittau 4d7b6c653b [CI] Use Python 3.14 for regression tests (#14973) 2025-11-03 16:33:50 +01:00
Sebastian Rittau ce3094cc5e Remove typing._promote (#14958)
Part of #7580
2025-11-03 00:27:19 -08:00
Shantanu f5d7efa8bf Use consistent definition of NotImplementedType (#14971) 2025-11-03 08:51:14 +01:00
Avasam 9fecaca45b Merge networkx Graph classes from python-type-stubs and address a few recent issues (#14597) 2025-11-03 04:32:35 +01:00
Avasam 6d4db2d1ae Update Ruff configs for 0.13 (#14775)
- New https://docs.astral.sh/ruff/settings/#lint_future-annotations setting for our scripts
- `FURB`: I blindly added out of preview rules. We need to validate if there's any we don't want.
- `PYI`: Added rules that didn't have autofixes before and which we don't already noqa anywhere.
- `SIM117`'s autofix is out of preview, but as per https://github.com/python/typeshed/pull/13309 we weren't sure whether we wanted to apply it all the time.
- `SIM905`: New rule, I think we'd always want it.
- `PLC0205`: I moved that one to stubs-only ignore (was added in https://github.com/python/typeshed/pull/14619 by @JelleZijlstra ).
2025-11-02 18:37:10 -05:00
Semyon Moroz 5dd19592d3 [parser] Add default values (#14967) 2025-11-02 15:04:16 +01:00
Randolf Scholz 7fde97036f Move NotImplementedType to types.pyi (#14966) 2025-11-02 15:00:52 +01:00
Sebastian Rittau 8aaa86f6a4 [jwcrypto] Work around stubtest issues (#14961)
See https://github.com/python/mypy/issues/20160 for details.

Closes: #14893

---------

Co-authored-by: Semyon Moroz <donbarbos@proton.me>
2025-11-01 11:35:30 -07:00
AN Long 4e38fa4a82 Allow None for sub_key in winreg (#14963) 2025-11-01 18:56:31 +01:00
lev-blit 1bb3070e84 [gevent]: Bump gevent to 25.9.* (#14871) 2025-11-01 16:54:33 +01:00
lev-blit 62dc403abc [simple-websocket] Add stubs for simple-websocket (#14868) 2025-11-01 16:27:32 +01:00
Sebastian Rittau be34e9201d Change type.__dict__ to a proper attribute (#14951) 2025-11-01 03:00:14 +01:00
Semyon Moroz bf72147848 [stubsabot] Use Literal and update reason field (#14904) 2025-10-31 18:10:28 +01:00
Semyon Moroz 56e74d05e2 [decorator] Fix FunctionMaker attributes (#14909) 2025-10-31 18:09:55 +01:00
Pēteris Caune e389c7b2a0 Annotate pycurl's getinfo() and getinfo_raw() (#14929) 2025-10-31 16:55:59 +01:00