Nikita Sobolev
d07ba24f3c
Add typehints for open in PIL.WallImageFile ( #11887 )
2024-05-10 10:29:09 +02:00
Nikita Sobolev
16dadc8fb5
Add show_empty to ast.dump ( #11871 )
2024-05-07 12:42:16 +02:00
Nikita Sobolev
1df875b529
Remove tzlocal stubs ( #11674 )
2024-04-14 15:35:11 +01:00
Nikita Sobolev
675ab38ab7
Update pyright version to 1.1.350 ( #11501 )
...
If you're reading about this commit in an auto-generated changelog: this is an internal change that should have no impact on how these stubs are understood by static-analysis tools such as type checkers or IDEs
2024-02-29 10:14:39 +00:00
Nikita Sobolev
7b4c751abb
Fix pos-only params in tkinter module ( #11506 )
2024-02-29 09:02:02 +00:00
Nikita Sobolev
217166b8a9
Fix pos-only params in os module ( #11505 )
2024-02-29 09:01:43 +00:00
Nikita Sobolev
fa4ca40f5c
Fix _operator.attrgetter pos-only params ( #11504 )
...
There cannot be any keywords:
```c
static PyObject *
attrgetter_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
attrgetterobject *ag;
PyObject *attr;
Py_ssize_t nattrs, idx, char_idx;
if (!_PyArg_NoKeywords("attrgetter", kwds))
return NULL;
// ...
```
2024-02-29 11:03:36 +03:00
Nikita Sobolev
19d1b686b6
str.count only takes positional args (#11503 )
...
```
>>> ''.count(x='a')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: str.count() takes no keyword arguments
```
2024-02-29 10:37:12 +03:00
Nikita Sobolev
9b9de1e88c
Replace no-comments with annotate in jakebailey/pyright-action ( #11502 )
...
`no-comments` is deprecated:
- https://github.com/python/typeshed/actions/runs/8092167409/job/22112427113?pr=11501#step:10:1
- https://github.com/jakebailey/pyright-action/blob/b8ffdb7aa4a15fab942303261611eaa541f3f8b0/action.yml#L83-L88
2024-02-28 23:16:19 -08:00
a2095002e4
Complete stubs for bleach ( #9314 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-02-21 20:03:24 +00:00
Nikita Sobolev
e961db9492
Change the asyncio.Task constructor type ( #10228 )
2024-02-17 15:50:26 -08:00
Nikita Sobolev and Jelle Zijlstra
863d22a239
Make return type of functools.cache_property covariant ( #10053 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-02-17 15:38:46 -08:00
3fa6374c9a
Mark simplejson as completed ( #9211 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-02-17 14:50:46 -08:00
Nikita Sobolev
547cbc748f
Remove pluggy stubs ( #11351 )
2024-01-31 13:30:20 -08:00
Nikita Sobolev
8dfebc0117
Bump pyright to 1.1.342 ( #11190 )
2023-12-20 12:11:38 +01:00
Nikita Sobolev
06d0151b25
Enable redundant-self mypy error code ( #11056 )
2023-11-22 10:13:17 +00:00
Nikita Sobolev
d232def6b2
Use consistent mypy output spacing ( #11055 )
2023-11-22 09:58:13 +00:00
Nikita Sobolev
62ccb32b22
Mark deprecated methods as deprecated in wave module ( #11001 )
2023-11-17 07:31:00 -08:00
Nikita Sobolev
3f54f7e3de
Bump ruff ( #10988 )
2023-11-07 10:48:08 +00:00
Nikita Sobolev
18cd196109
Bump pyright to 1.1.334 ( #10959 )
...
https://github.com/microsoft/pyright/releases/tag/1.1.334
2023-10-31 23:21:52 -07:00
Nikita Sobolev
a5d616303d
Remove invoke stubs ( #10956 )
2023-10-31 11:31:31 +01:00
Nikita Sobolev
40e0423a86
Remove pyvmomi stubs ( #10957 )
2023-10-31 11:31:06 +01:00
Nikita Sobolev
5c775a3502
Improve int.__pow__ and float.__pow__ comments ( #10925 )
...
It used to be `__x`. Now, it is not clear what `x` is in this context.
2023-10-25 10:15:34 +01:00
Nikita Sobolev and Alex Waygood
d14c5f82c8
Bump pyright to 1.1.332 ( #10904 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-10-18 10:09:50 +01:00
Nikita Sobolev
41ac46ce21
Bump ruff to 0.1.0 ( #10900 )
2023-10-17 11:03:38 +01:00
Nikita Sobolev
bb27e6cd36
Bump peewee to 3.17.* ( #10895 )
2023-10-16 13:32:46 +02:00
Nikita Sobolev
5531e9d470
Add _locale module ( #10859 )
...
More accurately reflect the platform availability of several constants and functions in `locale`.
2023-10-08 12:55:19 +02:00
Nikita Sobolev
64d6d96568
Bump pyright pin ( #10858 )
2023-10-08 08:21:19 +02:00
Nikita Sobolev
8acf1944f3
Remove allowlist entries for _ctypes on win ( #10855 )
2023-10-07 21:43:33 +02:00
Nikita Sobolev
fb994e344b
Fix ssl.SSLSocket methods on windows ( #10849 )
2023-10-07 07:50:52 +01:00
Nikita Sobolev
48d4f7a6a5
Add winreg.HKEYType.handle property ( #10848 )
2023-10-06 19:20:12 +01:00
Nikita Sobolev
a12b2053cd
Add SetErrorMode to msvcrt module ( #10842 )
2023-10-05 22:06:11 +01:00
Nikita Sobolev
cc5b3f8bc4
Fix platform availability of some os/posix constants ( #10831 )
2023-10-03 15:20:00 +01:00
Nikita Sobolev
07e611d41f
select.POLLRDHUP does not exist on macos (#10823 )
2023-10-02 11:59:29 +01:00
Nikita Sobolev
66d183fc56
mimetypes.MimeTypes.read_windows_registry always exists (#10821 )
2023-10-02 11:35:48 +01:00
Nikita Sobolev
b3b5661f80
Add DefaultSelector.fileno on platforms where it exists ( #10820 )
2023-10-02 11:15:49 +01:00
Nikita Sobolev
bd4462cc62
Re-export SYSPROTO_CONTROL and PF_SYSTEM in socket on macos ( #10814 )
2023-10-01 15:38:44 +01:00
Nikita Sobolev and Alex Waygood
460fa14dfc
Fix curses.color_pair signature ( #10811 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-30 20:58:37 +01:00
Nikita Sobolev
16b9884601
Fix _posixsubprocess module for python3.12 ( #10809 )
2023-09-30 17:51:33 +01:00
Nikita Sobolev
4c5d3e5ad2
Some curses functions were removed in 3.12 for macos ( #10808 )
2023-09-30 11:28:09 +02:00
Nikita Sobolev
398b31de92
Removed unused sections from allowlists ( #10804 )
2023-09-29 22:53:45 +01:00
Nikita Sobolev
ec69d98778
locale: Remove some hopefully-unnecessary allowlist entries for macos-3.10 ( #10805 )
2023-09-29 22:44:40 +01:00
Nikita Sobolev
f97fbb4e63
Remove dj-database-url stubs ( #10806 )
2023-09-29 14:33:29 -07:00
Nikita Sobolev
7cf1fed75d
Fix sigtimedwait and sigwaitinfo signature ( #10803 )
2023-09-29 12:38:14 -07:00
Nikita Sobolev
1ac5b7b1ac
Add x_exports to xxlimited ( #10802 )
2023-09-29 10:54:58 +02:00
Nikita Sobolev and Alex Waygood
c9835481e3
Add MAP_STACK to mmap module ( #10792 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-28 11:12:41 +01:00
Nikita Sobolev
4dad5311d5
Update tty to python 3.12 ( #10784 )
2023-09-27 11:15:32 +02:00
Nikita Sobolev
b23042e854
ssl.OP_ENABLE_KTLS should exist on linux (#10778 )
2023-09-26 09:48:00 +02:00
Nikita Sobolev
9f4edca70e
Update os and posix to python 3.12 on darwin ( #10779 )
2023-09-26 09:46:29 +02:00
Nikita Sobolev
df2efe6102
Update fcntl to python 3.12 ( #10774 )
2023-09-25 10:38:48 -07:00
Nikita Sobolev
4c4278e80c
Use Literal values for sys.version_info.release_level ( #10763 )
2023-09-25 07:20:53 +01:00
Nikita Sobolev
7ead6dffae
Bump pyright to 1.1.328 ( #10739 )
...
https://github.com/microsoft/pyright/releases/tag/1.1.328
2023-09-20 08:37:19 +01:00
Nikita Sobolev
2c05c02b36
Update netaddr to 0.9.0 ( #10732 )
2023-09-19 12:33:02 +01:00
Nikita Sobolev
d88205caee
Make all protocols' param names pos-only in codecs.pyi ( #10713 )
2023-09-16 15:54:18 +02:00
Nikita Sobolev
53144ca572
Update importlib.metadata to 3.12 ( #10665 )
2023-09-08 12:42:56 +01:00
Nikita Sobolev
d868dad76b
Update importlib.metadata to 3.12 ( #10654 )
2023-09-03 09:47:19 +01:00
Nikita Sobolev and Alex Waygood
d13d9859f6
Update zipfile to 3.12 ( #10647 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-02 16:01:41 +01:00
Nikita Sobolev and Alex Waygood
f0ba5ba2a2
Update unittest.mock to 3.12 ( #10650 )
...
And harmonise some annotations between the stdlib `unittest.mock` module and the third-party `mock` backport package.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-02 15:03:39 +01:00
Nikita Sobolev
454438e4db
Update importlib.resources to 3.12 ( #10649 )
2023-09-02 00:03:08 -07:00
Nikita Sobolev
e04c440571
Update pathlib to 3.12 ( #10646 )
2023-09-01 14:53:58 +02:00
Nikita Sobolev
f28cb8b856
Update os.DirEntry to 3.12 ( #10643 )
2023-08-31 14:29:21 +01:00
Nikita Sobolev
8a2019aa7f
Add isjunction and splitroot functions ( #10642 )
2023-08-31 13:14:22 +01:00
Nikita Sobolev
6c2c164de2
unittest: py312 updates for load_tests and loadTestsFromModule (#10640 )
2023-08-30 12:27:40 +01:00
Nikita Sobolev
c9583d9f14
Add durations to unittest in 3.12 ( #10636 )
2023-08-30 11:35:25 +01:00
Nikita Sobolev
8888ac0d6d
Update configparser to 3.12 ( #10635 )
2023-08-30 11:07:50 +02:00
Nikita Sobolev
47d29e1d69
Bump pyright version ( #10637 )
...
Release https://github.com/microsoft/pyright/releases/tag/1.1.325
2023-08-30 08:57:05 +01:00
Nikita Sobolev
95974369af
Update gzip for py312 ( #10634 )
2023-08-30 08:29:53 +01:00
Nikita Sobolev
03e65e1f1a
Update genericpath to 3.12 ( #10623 )
2023-08-28 11:19:09 +02:00
Nikita Sobolev
2c1db00761
Consistently use Generic as the last base class ( #10610 )
2023-08-28 10:16:54 +02:00
Nikita Sobolev
3b9ab5e9b1
Update ibm-db to 3.2.* ( #10622 )
2023-08-27 21:24:22 +01:00
Nikita Sobolev and Alex Waygood
daf51f057b
Bump pyright version ( #10591 )
...
Release: https://github.com/microsoft/pyright/releases/tag/1.1.323
Fix types-pika to work with the latest pyright version.
---------
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-08-16 10:18:41 +01:00
Nikita Sobolev
1ad381d713
Update sre_parse to 3.12 ( #10556 )
2023-08-10 12:48:12 +01:00
Nikita Sobolev
19ed22ea60
Update turtle to 3.12 ( #10548 )
2023-08-10 11:44:14 +01:00
Nikita Sobolev
9d0ed1571f
Update ssl to 3.12 ( #10547 )
2023-08-09 09:18:33 +02:00
Nikita Sobolev
4990da6c60
Update asyncio.base_events for py312 ( #10543 )
2023-08-08 15:28:36 +01:00
Nikita Sobolev
a5783555e8
asyncio.streams: py312 updates (#10542 )
2023-08-08 08:33:37 +01:00
Nikita Sobolev
c326f2500b
Bump pyright version ( #10539 )
...
Release: https://github.com/microsoft/pyright/releases/tag/1.1.320
2023-08-07 12:06:34 +01:00
Nikita Sobolev
161dd4b34f
Update logging for 3.12 ( #10538 )
2023-08-07 12:02:44 +01:00
Nikita Sobolev
3968308e74
Update asyncio.constants module for python3.12 ( #10535 )
2023-08-06 15:30:55 +01:00
Nikita Sobolev
86218a52b7
Add get_context methods to asyncio in 3.12 ( #10534 )
2023-08-06 12:02:48 +01:00
Nikita Sobolev
81d1362247
Fix asyncio.Task.__init__ signature ( #10532 )
2023-08-04 15:12:51 +02:00
Nikita Sobolev
d62cbb98f4
Remove DateTimeRange stubs ( #10525 )
2023-08-01 09:15:32 +01:00
Nikita Sobolev
474ad1c70e
Remove babel stubs ( #10524 )
2023-08-01 09:12:33 +01:00
Nikita Sobolev
fe2ebd69af
Bump paramiko to 3.3.* ( #10522 )
2023-07-31 09:07:05 +01:00
Nikita Sobolev and Alex Waygood
54201d5572
Bump google-cloud-ndb to 2.2.* ( #10521 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-07-31 09:04:36 +01:00
Nikita Sobolev
21e8f7b02b
Bump pyright version ( #10510 )
...
https://github.com/microsoft/pyright/releases/tag/1.1.319
2023-07-26 09:19:39 +01:00
Nikita Sobolev and Alex Waygood
3a9b0c5790
Update caldav to 1.3.* ( #10485 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-07-20 15:14:32 +01:00
Nikita Sobolev
d5c137c0fc
py312 updates for array ( #10483 )
2023-07-20 09:38:58 +01:00
Nikita Sobolev
032f9195f9
Add a more precise signature for AsyncMock.reset_mock() ( #10481 )
2023-07-19 13:25:20 +01:00
Nikita Sobolev
9e7477d986
Update mock to 5.1.* ( #10472 )
2023-07-19 13:01:01 +01:00
Nikita Sobolev
8da4739042
Update python-crontab to 3.0.* ( #10475 )
2023-07-19 13:50:33 +02:00
Nikita Sobolev
797779d222
Bump pyright version to 1.1.318 ( #10476 )
2023-07-19 10:10:22 +02:00
Nikita Sobolev
95b268999c
pdb: py312 updates (#10471 )
2023-07-18 17:33:27 +01:00
Nikita Sobolev
4a643318ea
sqlite3 updates for py312 (#10469 )
2023-07-17 12:44:49 +01:00
Nikita Sobolev
57c435cd7e
Update pydoc for 3.12 ( #10467 )
2023-07-16 11:28:56 +01:00
Nikita Sobolev
3c9522bcfe
Bump pyright version ( #10454 )
2023-07-13 09:08:27 -07:00
Nikita Sobolev
17c0421c29
Adds py3.12 constants to sqlite3 ( #10453 )
2023-07-13 16:49:34 +01:00
Nikita Sobolev
f843922df8
datetime: Remove unused stubtest allowlist entry for py312 (#10277 )
2023-07-12 21:06:06 +01:00
Nikita Sobolev and AlexWaygood
e7ba0327e1
Remove SQLAlchemy stubs ( #10389 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2023-07-08 10:24:59 +01:00
Nikita Sobolev
702226e1fd
Add missing TCP_CONNECTION_INFO to socket module ( #10402 )
2023-07-04 12:32:38 +02:00