Nikita Sobolev and Jelle Zijlstra
bc6d91a58e
Bump paramiko to 2.12.* ( #9163 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-11 15:30:11 -08:00
70c4af4b73
Refactor round and add tests ( #9151 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-11 18:19:51 +00:00
Nikita Sobolev and Alex Waygood
9f80dbd3db
Do not run stubtest_third_party on requirements change ( #9160 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-11 18:16:00 +00:00
Nikita Sobolev
dbac458bd5
Fix CI failure when no third-party stubs were updated ( #9159 )
2022-11-11 07:09:35 -08:00
9cd9f6f6e0
Add the ability to run third-party stubtest on Windows or MacOS when needed ( #8923 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-11 13:40:50 +00:00
Nikita Sobolev
0f33721c52
Remove sqlite3/dbapi2.pyi from pyright excludelist ( #9148 )
2022-11-11 12:00:19 +00:00
Nikita Sobolev
0baadae0c9
urllib.parse: improve bytes handling ( #9103 )
2022-11-10 20:47:57 -08:00
Nikita Sobolev and Alex Waygood
f8dd877e48
Improve math.{ceil,floor,trunc} ( #9141 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-10 14:45:07 +00:00
Nikita Sobolev
805519717b
regr_test.py: fix typo in --help (#9147 )
...
It used to be:
```
-p [{3.11,3.10,3.9,3.8,3.7} ...], --python-version [{3.11,3.10,3.9,3.8,3.7} ...]
Run mypy for certain Python versions (defaults to
sys.version_info[:2])Note that this cannot be specified if
--all is also specified.
```
2022-11-10 13:32:22 +00:00
Nikita Sobolev
a74acc8225
urllib.response: improve bytes handling ( #9142 )
2022-11-09 18:21:13 -08:00
Nikita Sobolev
7b3fff714a
Do not run create-issue-on-failure on PRs ( #9140 )
2022-11-09 15:02:50 +00:00
Nikita Sobolev
04ae11cdd0
All __nonzero__ are methods that return bool ( #9139 )
2022-11-09 14:53:42 +00:00
Nikita Sobolev
cb5ed3c5fb
Run stubtest on all third party stubs if requirements.txt is changed ( #9132 )
2022-11-09 14:30:56 +00:00
Nikita Sobolev
62a6c3d616
Annotate known magic-method return types ( #9131 )
2022-11-08 18:28:42 +00:00
Nikita Sobolev
c0e9038f0d
Fix and allow classes with missing metaclasses ( #9136 )
2022-11-08 18:13:59 +00:00
Nikita Sobolev
94dc53ee90
Mark typed_ast as completed ( #9121 )
2022-11-07 18:34:23 +00:00
Nikita Sobolev
11be6effd3
Mark vobject as complete ( #9120 )
2022-11-07 14:24:18 +00:00
Nikita Sobolev
5751b467e0
Remove ssl_match_hostname from pyright exclude ( #9116 )
2022-11-06 14:02:24 -08:00
Nikita Sobolev
4bff3e240b
Remove annoy from pyright excludelist ( #9114 )
2022-11-06 19:45:25 +00:00
Nikita Sobolev
449d8254d6
Remove aiofiles/aiofiles/threadpool/utils.pyi from pyright exclude ( #9113 )
2022-11-06 19:19:10 +00:00
Nikita Sobolev
10f05d3fb6
Remove aiofiles/tempfile/temptypes.pyi from pyright exclude ( #9104 )
2022-11-05 07:10:50 -07:00
Nikita Sobolev
9f0d0b9af7
zipimport: improve bytes handling ( #9087 )
2022-11-04 17:58:59 -07:00
Nikita Sobolev
3ac147cf67
Mark zxcvbn as completed ( #9088 )
2022-11-04 09:16:59 +00:00
Nikita Sobolev
1d37b54441
Remove Send2Trash from pyright's exclude ( #8944 )
2022-11-03 13:41:37 -07:00
Nikita Sobolev
e68567a1b4
tarfile: improve bytes handling ( #9076 )
2022-11-03 10:15:46 -07:00
Nikita Sobolev and Alex Waygood
86f9d93003
Update pyright to 1.1.278 ( #9077 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-03 15:32:10 +00:00
Nikita Sobolev
27caa8f221
Mark hdbcli as complete ( #8904 )
2022-11-03 07:38:51 -07:00
Nikita Sobolev
d317458af6
Bump jsonschema to 4.17.* ( #9066 )
2022-11-02 17:41:14 +00:00
Nikita Sobolev
f972bdfd96
io, codecs: improve bytes handling ( #9059 )
2022-11-02 09:32:06 -07:00
Nikita Sobolev
ab9988a5ed
[stubsabot junior] Bump babel to 2.11.* ( #9064 )
2022-11-02 01:15:36 -07:00
Nikita Sobolev
a7cf6144de
Complete passpy stubs ( #8959 )
2022-11-01 12:37:21 +01:00
Nikita Sobolev
b91ebd3096
Remove pytz from pyrights exclude ( #9041 )
2022-10-31 21:08:41 -07:00
Nikita Sobolev
34e147fcd9
plistlib: improve bytes handling ( #9048 )
2022-10-31 21:01:23 -07:00
Nikita Sobolev and Jelle Zijlstra
8036bbdce1
marshal: improve bytes handling ( #9047 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-10-31 13:24:18 -07:00
Nikita Sobolev
ae75d68fe9
hmac: improve bytes handling ( #9046 )
2022-10-31 07:11:50 -07:00
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