Shantanu
a91c89ea94
various path stubs: re-export to reduce duplication ( #5382 )
...
Co-authored-by: hauntsaninja <>
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-05-10 22:27:13 -07:00
Shantanu
0ac3531a93
Update allowlists ( #5409 )
...
Co-authored-by: hauntsaninja <>
2021-05-10 22:19:31 -07:00
Shantanu
482d38044b
statistics: update for py310 ( #5291 )
2021-05-10 15:12:06 -07:00
Akuli
c4d163ad42
fix stubtest-unused-whitelist permissions ( #5404 )
2021-05-10 22:19:51 +03:00
Akuli
272d70cdd2
Fix several problems in stubtest unused ( #5401 )
2021-05-10 18:50:37 +02:00
Akuli
24532a101e
readme: delete old mypy submodule stuff ( #5399 )
2021-05-10 07:56:26 -07:00
Sebastian Rittau
8787c7f496
Use newer mypy version for mypy_primer ( #5397 )
...
This will hopefully fix the mypy primer errors
2021-05-10 17:23:51 +03:00
Sebastian Rittau
5f6dbe3d3e
Limit mypy primer comment to 30000 chars ( #5396 )
...
* Limit mypy primer comment to 30000 chars
GitHub enforces a limit of 64kB
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-05-10 16:51:58 +03:00
Sebastian Rittau
1eb64b4372
Mark stdlib modules with upper version bounds ( #5394 )
...
* Mark stdlib modules with upper version bounds
* Add minus to all versions and enforce in check_consistent
* Fix check_consistent and mypy_test to work with new VERSIONS format
2021-05-10 16:29:43 +03:00
Akuli
5e907afac7
non-string fieldnames for csv.DictReader and csv.DictWriter ( #5366 )
2021-05-10 13:44:24 +02:00
Adrian Freund
a2058829fa
Make memoryview inherit from Sequence ( #5393 )
2021-05-10 12:46:17 +02:00
spaghEddieDoyle
740f672450
Fix typo in README ( #5389 )
2021-05-09 17:00:15 -07:00
hatal175
244fc622e6
Add workflow stubtests for macos ( #5384 )
...
* Add macos to stubtest
* Add general darwin stubtest exception file
* Adding exceptions and platform ifs
2021-05-09 23:24:00 +03:00
Akuli
933787d5fe
return Hashable from functools._make_key ( #5385 )
2021-05-09 20:23:40 +03:00
Mohit Goyani
23efb32c43
fixed wrong return type in xxhash ( #5378 )
...
* fixed wrong return type in xxhash
2021-05-09 20:14:08 +03:00
Mahmoud Harmouch
01ccf25d62
Add missing members for AbstractBasicAuthHandler class ( #5379 )
...
* Add missing members for AbstractBasicAuthHandler class
Signed-off-by: Harmouch101 <mahmoudddharmouchhh@gmail.com >
* Added missing functions to ftpwrapper
Signed-off-by: Harmouch101 <mahmoudddharmouchhh@gmail.com >
2021-05-09 11:18:24 +03:00
Shantanu
fcdc7a8135
Use full SHA for comment hiding ( #5383 )
...
For whatever reason, looks like GA mandates full SHA
This was added in #5364
Co-authored-by: hauntsaninja <>
2021-05-08 16:52:16 -07:00
Akuli
83e875dffb
Hide old mypy_primer comments ( #5364 )
2021-05-08 15:31:08 -07:00
Akuli
49cd02456c
fixes for os.path.commonpath and os.path.commonprefix ( #5363 )
2021-05-08 15:30:26 -07:00
Shantanu
82fa8473ff
Attempt to fix stubtest unused PR opening ( #5374 )
...
Co-authored-by: hauntsaninja <>
2021-05-09 01:16:04 +03:00
Mahmoud Harmouch
0804505c10
Add functools._make_key ( #5370 )
...
* Add functools._make_key
* Added _HashedSeq class
2021-05-08 23:40:33 +03:00
hatal175
653191e514
A few linux stubtest fixes ( #5381 )
2021-05-08 12:49:42 -07:00
Shantanu
9cdd5220c2
Update allowlists ( #5376 )
...
Co-authored-by: hauntsaninja <>
2021-05-08 12:48:12 -07:00
Shantanu
3fa5988a2a
Fix allowlist updater script ( #5375 )
...
Co-authored-by: hauntsaninja <>
2021-05-07 23:13:36 -07:00
Shantanu
1c76937836
Fix stubtest unused workflow ( #5372 )
...
This got broken during modular typeshed
Co-authored-by: hauntsaninja <>
2021-05-07 22:54:03 -07:00
Akuli
e885820bb7
document pyright test better ( #5362 )
2021-05-07 22:20:43 -07:00
Akuli
4b39a0fe43
CONTRIBUTING.md: explicitly avoid --amend ( #5371 )
...
* tell not to use --amend
* clarify how pull requests show up in git history
2021-05-07 23:52:26 +03:00
sachindavra
1048250c04
ror implementation ( #5369 )
...
Signed-off-by: sachindavra <raju.davra@gmail.com >
2021-05-07 21:10:07 +03:00
hatal175
2dc02ae8a9
Fix stubtest issues ( #5360 )
...
* Fix some stubtest issues
* Remove MADV_SOFT_OFFLINE
2021-05-07 19:10:03 +03:00
Ricardo
e3f510e896
redis client: adding __del__ and close ( #5365 )
...
* redis client: adding __del__ and close
2021-05-07 16:48:55 +03:00
Akuli
4115d4ae13
delete pytype bug workaround ( #5361 )
2021-05-07 12:04:50 +02:00
Jelle Zijlstra
5f591a1a12
fix VERSIONS ( #5329 )
2021-05-07 08:43:22 +02:00
James Morris
5f252e54a0
Add OrderedDict to typing_extensions ( #5345 )
2021-05-06 17:23:35 -07:00
Shantanu
7619a8fb46
typing_extensions: fix positional-only arg ( #5359 )
...
Co-authored-by: hauntsaninja <>
2021-05-06 17:07:43 -07:00
Terence Honles
63696823d7
typing: type decorators so they don't count as untyped lines ( #5348 )
2021-05-06 15:57:52 -07:00
Shantanu
bdd5680e7a
Bump pytype ( #5358 )
...
For #5345
Co-authored-by: hauntsaninja <>
2021-05-06 15:33:08 -07:00
Shantanu
4bf4d6adb6
Bump pyright ( #5357 )
...
For #5348
Co-authored-by: hauntsaninja <>
2021-05-06 15:26:24 -07:00
Akuli
0bfb28b0b6
do not require running tests locally ( #5356 )
2021-05-06 14:33:53 -07:00
Akuli
97101b1d2c
create stub for __main__ ( #5354 )
...
* create stub for __main__
* exclude from pyright, like all other __getattr__ incomplete stubs
2021-05-06 18:57:33 +03:00
Akuli
e66b7fa660
delete _importlib_modulespec ( #5350 )
...
* delete _importlib_modulespec
* use typing_extensions.runtime_checkable
2021-05-06 17:13:35 +03:00
Akuli
bb5fb845f2
use protocol for sys.meta_path ( #5349 )
2021-05-06 17:12:34 +03:00
Sebastian Rittau
d16017ba0d
Drop mypy self test ( #5344 )
...
Closes : #5303
2021-05-06 06:55:49 -07:00
Akuli
6905c0d02a
fix ci ( #5353 )
2021-05-06 15:40:49 +02:00
Jake Bailey
a334a29c96
Bump pyright, disable PR/commit commenting for all but one job ( #5347 )
...
* Bump pyright, disable PR/commit commenting for now
* Show comments for 3.9
* And only on Linux
2021-05-05 22:49:21 +03:00
Vyom Pathak
00f2301029
Fixed: Argument for Werkzeug's Headers.pop method. ( #5335 )
...
* Fixed: Argument for Werkzeug's Headers.pop method
* Changed: Overloaded Headers.pop function to support different argument types
2021-05-05 21:00:11 +03:00
hatal175
461791db27
Fixing stubtest issues ( #5339 )
...
* Fix stubtest issues
2021-05-05 17:23:43 +03:00
Akuli
8379386bd4
get rid of Any in paramiko HostKeys ( #5342 )
2021-05-05 12:35:44 +02:00
Jukka Lehtosalo
a5e243fbcd
Change some str types to Text in google.protobuf.text_format ( #5343 )
...
Python 2 `unicode` values are supported. For example:
https://github.com/protocolbuffers/protobuf/blob/master/python/google/protobuf/text_format.py#L843
2021-05-05 09:33:59 +01:00
Akuli
9f732a128a
enable mypy_test for python 3.10 ( #5341 )
...
* enable mypy_test for python 3.10
* avoid collections.Mapping and collections.MutableMapping, import from typing
2021-05-05 00:09:33 +03:00
Akuli
54699d6cca
change positional-only test to use Python 3.10 ( #5340 )
2021-05-04 13:35:05 -07:00