Nikita Sobolev
6569deaa44
json: improve bytes handling ( #9042 )
2022-10-30 16:26:48 -07:00
Nikita Sobolev
fb61f37d13
encodings: improve bytes handling ( #9043 )
2022-10-30 16:24:46 -07:00
Nikita Sobolev
e8595f3df3
gzip: improve bytes handling ( #9037 )
2022-10-30 13:21:31 -07:00
Nikita Sobolev
b24a22c359
asyncore: improve bytes handling ( #9034 )
2022-10-30 06:42:32 -07:00
Nikita Sobolev
6fcd68185a
zlib: improve bytes handling ( #9036 )
2022-10-30 06:39:59 -07:00
Nikita Sobolev
a96cb58160
binhex: improve bytes handling ( #9035 )
2022-10-30 06:36:30 -07:00
Nikita Sobolev
49d3393732
imaplib: fix bytes usage ( #9021 )
2022-10-28 14:06:55 -07:00
Nikita Sobolev
d3a87eb45d
Improve types and bytes usage of pathlib ( #9016 )
2022-10-28 21:45:41 +02:00
Nikita Sobolev
fd75bc21fc
Use 3.11 instead of 3.11-dev ( #8983 )
2022-10-26 15:52:24 +02:00
Nikita Sobolev
5bbba5d008
Collection is Sized (#8977 )
2022-10-25 06:08:28 -07:00
Nikita Sobolev and Akuli
45ccfbc9f3
Remove tree-sitter from pyright's exclude ( #8946 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-10-24 09:48:54 -07:00
Nikita Sobolev
327ae91627
ValuesView is a Collection, not Iterable (#8953 )
...
See https://github.com/python/cpython/issues/98500 and https://github.com/python/cpython/blob/49f61068f49747164988ffc5a442d2a63874fc17/Lib/_collections_abc.py#L893
2022-10-21 09:47:44 -07:00
Nikita Sobolev
7ed599e848
Remove parts of tkinter from pyright exclude ( #8958 )
2022-10-21 19:18:04 +03:00
Nikita Sobolev
50da0aa19c
Add $schema to pyrightconfig.json ( #8957 )
2022-10-21 10:47:45 +02:00
Nikita Sobolev
918f2266da
Remove editdistance from pyright's exclude ( #8941 )
2022-10-20 07:15:09 -07:00
Nikita Sobolev
c7983ec8d5
Remove mock from pyright's exclude ( #8942 )
2022-10-20 07:11:11 -07:00
Nikita Sobolev
b0b0cc6474
Remove pyvmomi from pyright's exclude ( #8943 )
2022-10-20 07:10:34 -07:00
Nikita Sobolev
4276136d7a
Remove simplejson from pyright's exclude ( #8945 )
2022-10-20 13:22:15 +01:00
Nikita Sobolev
8a7cb1396a
Remove some packages from pyright's exclude: they are correct ( #8948 )
2022-10-20 10:19:53 +01:00
Nikita Sobolev
79d331286f
Mark python-crontab as completed ( #8938 )
2022-10-20 09:37:42 +01:00
Nikita Sobolev
27d4113779
Remove consolemenu from pyright's exclude ( #8940 )
2022-10-20 09:32:04 +01:00
Nikita Sobolev
f9b89878a5
Remove dj-database-url from pyright exclude ( #8939 )
2022-10-20 01:24:49 -07:00
Nikita Sobolev
d9108acc89
Mark parsimonious as completed ( #8934 )
2022-10-19 17:58:51 -07:00
Nikita Sobolev
09511fd72f
print cannot raise subprocess.CalledProcessError (#8933 )
2022-10-19 19:16:05 +01:00
Nikita Sobolev and Jelle Zijlstra
193172efba
Mark mock as completed ( #8919 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-10-19 10:40:37 -07:00
Nikita Sobolev
a1a245b3ab
Add txt to .editorconfig ( #8920 )
2022-10-18 11:21:00 +01:00
Nikita Sobolev
e6682a5fa7
Remove ABCMeta from tzinfo ( #8910 )
2022-10-17 09:12:52 +01:00
Nikita Sobolev
9c5a588078
datetime.tzinfo is abstract (#8908 )
2022-10-16 16:20:31 -07:00
Nikita Sobolev
3e828bd307
Remove empty __init__ methods from classes with 0 parents ( #8907 )
2022-10-16 12:47:47 +01:00
Nikita Sobolev
208c09044c
Fix incomplete stubs wording in CONTRIBUTING.md ( #8906 )
2022-10-16 10:51:07 +01:00
Nikita Sobolev
ce4668a132
Use Incomplete instead of Any in __getattr__ ( #8903 )
2022-10-15 18:54:21 +01:00
Nikita Sobolev
ed4bc2b2e6
Mark flake8-2020 as complete ( #8902 )
2022-10-15 16:00:44 +01:00
Nikita Sobolev
38d0f691e6
Mark entrypoints as complete ( #8901 )
2022-10-15 15:16:41 +01:00
Nikita Sobolev
e6b00f1eb6
pydoc.ispath is a TypeGuard (#8899 )
2022-10-14 22:36:07 +01:00
Nikita Sobolev
9668ecd27c
Mark decorator as complete ( #8897 )
2022-10-14 11:02:38 -07:00
Nikita Sobolev
f07e68d7a4
[redis] Type redis.commands.parser ( #8870 )
2022-10-13 20:52:13 -07:00
Nikita Sobolev
9ba53492fc
Mark colorama as completed ( #8887 )
2022-10-13 20:15:01 -07:00
Nikita Sobolev
f02093cb64
Mark chevron as completed ( #8884 )
2022-10-12 09:35:12 +01:00
Nikita Sobolev
5ca2d77f85
Mark atomicwrites as complete ( #8883 )
2022-10-11 14:28:39 -07:00
Nikita Sobolev
fe3a34503c
Cancel old mypy_primer builds ( #8873 )
2022-10-10 01:28:17 -07:00
Nikita Sobolev
4579094f77
Bump tabulate to 0.9 version ( #8865 )
2022-10-07 06:03:18 -07:00
Nikita Sobolev
76e18379a2
Add two more methods to pep8-naming stub ( #8864 )
2022-10-07 06:00:14 -07:00
Nikita Sobolev
1459adcac5
ZoneInfo.clear_cache can have Optional input (#8856 )
2022-10-06 13:38:52 +02:00
Nikita Sobolev
6e84b56016
Add metaclasses for string.Template and dataclasses.InitVar ( #8852 )
2022-10-05 14:41:24 -07:00
Nikita Sobolev
27e9fde673
Add redis.asyncio.parser ( #8830 )
...
Source: https://github.com/redis/redis-py/blob/master/redis/asyncio/parser.py
2022-10-03 10:49:55 -07:00
721ad3d785
[redis] Improve fail parameter of Retry.call_with_retry ( #8827 )
...
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 >
2022-10-03 09:48:37 -07:00
Nikita Sobolev
bee4ee3199
[redis] Improve redis.asyncio.lock types ( #8826 )
2022-10-03 09:31:10 -07:00
Nikita Sobolev
6950c32370
Add parser to invoke.completion.complete.complete ( #8819 )
...
Closes https://github.com/python/typeshed/issues/8818
2022-10-01 12:52:39 -07:00
Nikita Sobolev
380022c650
Remove empty __init__ methods ( #8816 )
2022-09-30 13:08:41 +01:00
Nikita Sobolev
133e2d860d
Use Mapping instead of dict in inspect.py ( #8803 )
2022-09-28 08:39:21 -07:00
Nikita Sobolev
f611d18f70
six: Remove unused __future__ import ( #8790 )
2022-09-25 06:50:26 -07:00
Nikita Sobolev
4905074919
tarfile.TarFile: mark OPEN_METH as a ClassVar (#8725 )
2022-09-11 14:32:52 +01:00
Nikita Sobolev
d987f92e55
string.Template: Make several attributes ClassVars (#8724 )
2022-09-11 14:29:31 +01:00
Nikita Sobolev
43d4174590
SQLAlchemy: Use ParamSpec for Engine.transaction() and Engine.run_callable() (#8718 )
2022-09-10 16:29:54 +01:00
Nikita Sobolev
d5d4bbbe7c
Use ClassVar for class-level attributes in calendar ( #8691 )
...
Source: https://github.com/python/cpython/blob/f177f6f29b069f522a0b3ba44eaae19852b6d2b0/Lib/calendar.py#L418-L436
2022-09-06 10:14:56 +01:00
Nikita Sobolev
4a4acdb30a
redis: Improve kwargs typing in sentinel (#8661 )
2022-09-02 13:02:12 +01:00
Nikita Sobolev
d3cded7fc6
redis: Add _Encodable type alias ( #8638 )
2022-08-29 13:38:22 +02:00
Nikita Sobolev
6e985ef3de
stdlib mapping classes: Use better names for various pos-only parameters ( #8637 )
2022-08-28 23:29:00 +01:00
Nikita Sobolev
6d5fd0e290
Allow passing tuples to ipaddress.ip_network ( #8634 )
2022-08-27 18:38:26 +01:00
Nikita Sobolev
481027e194
redis: Improve ClusterPubSub types ( #8627 )
2022-08-27 16:13:46 +01:00
Nikita Sobolev
0259068ad6
Remove duplicate definitions in sub-classes ( #8594 )
2022-08-26 17:10:55 +02:00
Nikita Sobolev
fed419b8f1
Add CTYPES_MAX_ARGCOUNT to _ctypes ( #8601 )
2022-08-23 14:52:16 -07:00
Nikita Sobolev
57495ddaf4
Update redis/cluster.pyi ( #8593 )
2022-08-22 16:09:01 +02:00
Nikita Sobolev
383eca299b
redis: Do not override AbstractRedis.RESPONSE_CALLBACKS (#8592 )
2022-08-22 14:51:51 +01:00
Nikita Sobolev
e17ca47782
Further improve redis.cluster ( #8578 )
2022-08-21 17:00:53 +01:00
c6d34cc24d
Improve redis.cluster types ( #8573 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-20 18:46:09 +01:00
Nikita Sobolev and Jelle Zijlstra
d53d3258b2
Add "Naming convention" to test_cases/README.md ( #8521 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-08-12 20:15:23 -07:00
Nikita Sobolev and Alex Waygood
510feeb3fc
Improve constructor for builtins.dict ( #8517 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-10 19:04:07 +01:00
Nikita Sobolev
5cc966cc57
Improve email.headerregistry.HeaderRegistry stub ( #8516 )
2022-08-10 19:00:11 +01:00
Nikita Sobolev
266fed2f83
Consistent naming of files in the test_cases directory ( #8520 )
2022-08-10 10:33:42 +01:00
Nikita Sobolev
4e3e9ba2c6
Remove outdated TODO comment ( #8508 )
2022-08-09 09:55:45 +02:00
Nikita Sobolev
4e5d9d1cca
Add missing metaclasses in ast and contextlib ( #8497 )
2022-08-08 16:08:07 +01:00
Nikita Sobolev
64bc0590a6
Remove un-needed __hash__ methods from stdlib ( #8465 )
2022-08-06 14:55:27 +01:00
Nikita Sobolev
ac86defef7
Simplify multiprocessing.context.{SpawnProcess,SpawnContext} ( #8499 )
2022-08-06 12:03:43 +01:00
Nikita Sobolev
2f15b0d4db
_sendfile_compatible is a class variable (#8496 )
2022-08-05 10:52:08 +02:00
Nikita Sobolev
a03e8b4949
Revert __eq__ removal ( #8487 )
...
Refs #8483
2022-08-04 23:51:42 +02:00
Nikita Sobolev
a376da87bd
Remove duplicate definitions ( #8483 )
2022-08-04 18:55:18 +02:00
Nikita Sobolev and Alex Waygood
799fd2c8d8
Improve multiprocessing.context module ( #8466 )
...
* Use `ClassVar` where applicable
* Fix `_Popen()` return types
* Remove non-existing field `BaseContext.Process`
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-04 12:30:23 +02:00
Nikita Sobolev
bcd770bad3
Always return True from xml.dom.minidom.Node.__bool__ ( #8480 )
2022-08-04 12:23:34 +02:00
Nikita Sobolev
0480550fc3
Adds missing __dir__ definitions ( #8479 )
2022-08-04 12:21:43 +02:00
Nikita Sobolev
b19d447721
Remove Enum.__hash__, improve Enum.__reduce_ex__ ( #8477 )
2022-08-03 18:19:49 +01:00
Nikita Sobolev
38c4a1ece2
Remove redundant __str__ methods ( #8475 )
2022-08-03 13:45:16 +02:00
Nikita Sobolev and Alex Waygood
1bd1625c36
importlib: SimplePath: __div__ -> __truediv__ on 3.10 ( #8451 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-08-02 07:15:46 +01:00
275fc28733
Improve redis.cluster annotations ( #8379 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-07-30 12:50:39 +01:00
Nikita Sobolev
aba4bbd13b
Add pyopenssl.rand module ( #8435 )
2022-07-29 09:24:15 +01:00
Nikita Sobolev
abd893abae
Type http.client.HTTPConnection.sock ( #8386 )
2022-07-26 11:07:54 +02:00
Nikita Sobolev
d4287a7f08
Add pyopenssl.version module ( #8384 )
2022-07-24 20:46:54 +01:00
eb9edf1bd6
Add missing methods to OpenSSL.SSL.Connection ( #8374 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-07-24 16:48:41 +01:00
Nikita Sobolev
5598b49851
Improve redis.crc types ( #8375 )
2022-07-23 16:57:42 +01:00
Nikita Sobolev
60e5d96043
Add ocsp callback setters to OpenSSL.SSL ( #8367 )
2022-07-22 19:27:28 +01:00
Nikita Sobolev
32bac7280e
Remove python3.6 stubs from pyclbr ( #8364 )
2022-07-22 11:36:04 +02:00
Nikita Sobolev
83c6a48772
Add proto_version setters to OpenSSL.SSL ( #8363 )
2022-07-22 11:33:46 +02:00
Nikita Sobolev
73de76c033
Change Stub versioning wording in CONTRIBUTING.md ( #8365 )
2022-07-22 11:31:51 +02:00
175e81be7f
Improve redis.utils types ( #8362 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-07-22 08:57:15 +01:00
Nikita Sobolev
fab1b59715
Always return Iterator, not Iterable for __iter__ ( #8361 )
2022-07-22 08:10:58 +01:00
Nikita Sobolev
6ae2da64e6
Improve redis.retry types ( #8354 )
2022-07-21 17:51:13 +02:00
Nikita Sobolev
6fa7846edd
Annotate some redis.backoff items ( #8352 )
2022-07-21 16:52:15 +02:00
f178ae0d83
Improve types of redis.connection module ( #8342 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-07-20 13:48:13 +01:00
Nikita Sobolev
9cda16f5df
Improve redis.sentinel types ( #8331 )
2022-07-19 13:04:09 +02:00
Nikita Sobolev
780269823b
Improve redis/asyncio/client.pyi ( #8141 )
2022-06-23 11:52:56 +01:00