8307b3c362
Bump Markdown to 3.7.* ( #12565 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-08-21 18:06:28 +03:00
sobolevn
a7ff1be439
Bump cachetools to 5.5.* ( #12556 )
2024-08-19 14:34:29 +01:00
sobolevn
78ebab7e91
Remove paho-mqtt stubs ( #12552 )
2024-08-19 13:55:52 +01:00
sobolevn
c3497b1672
Remove python-slugify stubs ( #12553 )
2024-08-19 13:55:19 +01:00
sobolevn
30a20398c9
Pin numpy in various stubs ( #12554 )
2024-08-19 15:38:23 +03:00
sobolevn
519166ba23
Update pyright to 1.1.375 ( #12503 )
2024-08-09 19:19:19 +02:00
sobolevn
6f248dfa37
Bump mypy to 1.11.1 ( #12463 )
2024-08-04 23:19:28 -07:00
sobolevn
fa70187245
Bump croniter to 3.0.3 ( #12443 )
2024-07-30 11:51:47 +02:00
sobolevn
1a8c7ebe37
HAVE_NCURSESW is present on macos (#12441 )
2024-07-27 10:36:08 +02:00
sobolevn
421ac91a30
Bump croniter to 3.0.* ( #12422 )
2024-07-25 13:11:39 +02:00
sobolevn
db6272b650
Bump braintree to 4.29.* ( #12421 )
2024-07-24 21:08:08 +01:00
sobolevn
ce9f32db8d
Improve yaml/constructor.pyi types ( #12404 )
2024-07-23 14:08:47 +02:00
sobolevn
0782c2931c
Bump croniter to 2.0.* ( #12364 )
2024-07-20 21:39:09 -07:00
sobolevn
274b10da70
Bump cachetools to 5.4.* ( #12353 )
2024-07-16 14:07:42 +01:00
sobolevn
4740d320c5
Bump pygit2 to 1.15.* ( #12319 )
2024-07-13 17:38:05 +02:00
sobolevn
c4f7a72e50
macos does not have sed --in-place argument ( #12330 )
2024-07-13 06:02:22 -07:00
sobolevn
57c524d822
[flake8] Improve Statistic typing ( #12313 )
2024-07-10 11:03:43 +01:00
sobolevn
9f2a9d8579
Add a typevar with a default to io.TextIOWrapper ( #12286 )
2024-07-10 11:41:57 +02:00
sobolevn
e8cc1e46fe
Add _write method to flake8.formatting.BaseFormatter ( #12312 )
...
It is very useful for real-life custom formatters. Example: https://github.com/wemake-services/wemake-python-styleguide/blob/470d81174684eb9a175603aec02f0ac6589b8acd/wemake_python_styleguide/formatter.py#L92-L96
Definition: https://github.com/PyCQA/flake8/blob/65a38c42a7f1a05ff8d99b313160754fc9b7a0d8/src/flake8/formatting/base.py#L173-L178
2024-07-10 12:41:40 +03:00
sobolevn
7c26da22bd
Fix str2bool failure on stubsabot dry-run ( #12287 )
2024-07-06 13:42:15 -07:00
sobolevn
99c1b7102a
is_lazy_fixture in pytest-lazy-fixture is a TypeIs function (#12285 )
2024-07-06 11:51:03 +01:00
sobolevn
d029c30a16
Add _only_immortal to sys.getunicodeinternedsize ( #12248 )
...
Source: https://github.com/python/cpython/blob/3.13/Python/sysmodule.c#L2007-L2026
2024-07-01 23:31:06 +01:00
sobolevn
ae6e261c4f
Bump reportlab to 4.2.2 ( #12227 )
2024-06-30 12:39:51 +02:00
sobolevn
9fcaf3fe31
Bump openpyxl to 3.1.5 ( #12238 )
2024-06-29 22:10:14 +02:00
sobolevn
db7dd4cd54
Replace Github -> GitHub in scripts/stubsabot.py ( #12228 )
2024-06-27 17:15:16 +02:00
Nikita Sobolev
9817430896
Bump hdbcli to 2.21.* ( #12179 )
2024-06-20 23:01:45 +02:00
Nikita Sobolev
05b975a81f
psutil: deprecate Process.connections ( #12174 )
2024-06-20 14:34:29 +02:00
29f6bc3763
fpdf2: improve text_align types and .table() method signature ( #12123 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-06-20 14:42:56 +03:00
Nikita Sobolev and pre-commit-ci[bot]
be50f8e433
Bump psutil to 6.0.* ( #12167 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-20 10:13:10 +03:00
Nikita Sobolev
852946f759
Bump hvac to 2.3.* ( #12168 )
2024-06-20 00:05:09 -07:00
Nikita Sobolev
804a58165a
Remove tree-sitter ( #12118 )
2024-06-11 11:13:14 +01:00
Nikita Sobolev
769fea9f10
Bump pynput to 1.7.7 ( #12069 )
2024-05-31 10:26:27 +02:00
Nikita Sobolev
66c640ece9
Update docker to 7.1.x ( #12068 )
2024-05-31 08:56:49 +02:00
Nikita Sobolev
b8e35627f0
Bump python-crontab to 3.1.* ( #12008 )
2024-05-23 11:02:03 +02:00
Nikita Sobolev
5829e3bdea
Update shelve.open and dbm.open to support path-like objects ( #11881 )
...
Closes #11856
2024-05-12 13:31:12 -07:00
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