Nikita Sobolev
6f6dad117d
compile can only work with ast.Module | ast.Expression | ast.Interactive (#9424 )
2022-12-29 11:25:07 +01:00
Nikita Sobolev
0e4c59a076
ast.get_docstring does not work with arbitrary AST nodes (#9407 )
2022-12-24 18:43:44 +00:00
Nikita Sobolev and Alex Waygood
fce46d22ff
Mark dateparser as complete ( #9312 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-02 18:50:21 +00:00
Nikita Sobolev
bc1da6a748
Remove unused code from pytype_test.py ( #9317 )
2022-12-02 18:33:24 +00:00
Nikita Sobolev and Alex Waygood
3c9d1bd942
Mark httplib2 as complete ( #9311 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-01 15:21:01 +00:00
Nikita Sobolev
91c72cffd1
Remove dockerfile-parse from pyright's exclude ( #9310 )
...
Remove unnecessary dependency on types-six
2022-12-01 13:05:57 +00:00
Nikita Sobolev
8ac9f1eb56
Mark humanfriendly as complete ( #9309 )
2022-12-01 12:55:39 +00:00
Nikita Sobolev
df0a062b34
Mark passlib as completed ( #9302 )
2022-11-29 12:07:17 +00:00
Nikita Sobolev
579a3aa70a
Mark PyAutoGUI as complete ( #9300 )
2022-11-29 09:17:13 +00:00
Nikita Sobolev
ea2ccc3c21
Improve annotations for __instancecheck__, __subclasscheck__ ( #9291 )
2022-11-28 11:15:02 +00:00
Nikita Sobolev
c6800d1214
sqlalchemy: add return types for known magic methods ( #9290 )
2022-11-27 23:55:36 -08:00
Nikita Sobolev
a29624ee42
[redis] update to 4.3.5 ( #9284 )
2022-11-27 22:23:51 -08:00
Nikita Sobolev
7806607df9
Improve error message of Unrecognised platforms specified ( #9283 )
2022-11-26 14:46:43 +01:00
Nikita Sobolev
bdf036d516
check_consistent.py: Add check ensuring packages are not installed for unspecified platforms ( #9265 )
2022-11-25 10:11:59 +00:00
Nikita Sobolev
6cd33f951d
Exclude stubs/cryptoghraphy from CI to fix pyright ( #9258 )
...
Fix pyright
2022-11-23 13:18:03 +00:00
Nikita Sobolev and Alex Waygood
bd75ceb0b6
Fix stdlib stubtest failures on main ( #9255 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-23 10:07:05 +00:00
Nikita Sobolev
d633bebbf9
Add a note that if sys.version_info is still required in test_cases ( #9254 )
2022-11-23 09:04:52 +00:00
Nikita Sobolev
f8dfb5f725
Mark regex as completed ( #9214 )
2022-11-22 21:03:01 -08:00
Nikita Sobolev
a580eda64e
Mark pynput as completed ( #9235 )
2022-11-22 20:46:29 -08:00
ae58142e6e
Fix typings of ExceptionGroup and BaseExceptionGroup ( #9230 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2022-11-22 20:46:03 -08:00
Nikita Sobolev
e1aa4d5285
Add types to multiprocessing/reduction.pyi ( #9171 )
2022-11-22 14:02:14 +00:00
Nikita Sobolev
40d4676d6a
__unicode__ always returns str (#9248 )
2022-11-22 11:52:03 +00:00
Nikita Sobolev
18e2ae762b
Mark first argument of __[get|set|del]attr__ as str ( #9245 )
2022-11-22 11:06:50 +00:00
Nikita Sobolev
3026610797
Mark polib as complete ( #9244 )
2022-11-22 10:18:49 +00:00
Nikita Sobolev
a948ef02d5
Finish slumber annotations ( #9237 )
2022-11-21 17:48:46 +01:00
Nikita Sobolev
8a46e34bc3
Mark pyRFC3339 as completed ( #9233 )
2022-11-21 09:16:48 +00:00
Nikita Sobolev
b58d0df349
Mark pytest-lazy-fixture as completed ( #9229 )
2022-11-20 06:37:55 -08:00
Nikita Sobolev
ffc528f373
Mark python-nmap as completed ( #9226 )
2022-11-19 13:47:41 +00:00
Nikita Sobolev
ba2597daa9
Mark python-slugify as completed ( #9222 )
2022-11-18 10:50:20 +00:00
Nikita Sobolev
a21aa2fe26
Mark six as completed ( #9221 )
2022-11-18 10:32:30 +00:00
Nikita Sobolev
c6261372d7
Always use bool and Literal for Python compat code ( #9213 )
2022-11-16 18:00:59 +00:00
Nikita Sobolev
9137258cf4
Add exact **kwargs types to dateutil.parser.parse ( #9212 )
...
Closes #9122
2022-11-16 07:25:19 -08:00
Nikita Sobolev
64bb9ef8b3
Complete singledispatch stub ( #9201 )
2022-11-15 17:09:45 +01:00
Nikita Sobolev
66edd05cf3
Cancel old daily CI jobs on PRs ( #9196 )
2022-11-14 15:47:53 +00:00
Nikita Sobolev
e8111ea017
DecimalTuple can have string exponent (#9194 )
2022-11-14 11:09:16 +01:00
Nikita Sobolev
0bd4e3ce1a
ip_interface can have tuple arguments (#9195 )
2022-11-14 11:02:56 +01:00
Nikita Sobolev
005801d34d
Mark ttkthemes as complete ( #9186 )
2022-11-13 11:12:48 +00:00
Nikita Sobolev
d3b63b88d3
Mark toml as complete ( #9185 )
2022-11-13 11:11:47 +00:00
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