Commit Graph

4398 Commits

Author SHA1 Message Date
Sebastian Rittau
6a4583d0a8 Deprecate pallets stubs (#5424)
Part of #5423

* Support new metadata fields in check_consistent
2021-05-12 19:17:42 +03:00
Akuli
ceb308d402 run pytype_test in python 3.9 (#5425) 2021-05-12 19:13:01 +03:00
Sebastian Rittau
7372952e29 Upgrade pyptype (#5420) 2021-05-12 07:12:03 -07:00
Shantanu
6bb1d885c6 time: fix constants availability (#5419) 2021-05-12 08:35:39 +02:00
github-actions[bot]
a2d5f72e8a Remove unused stubtest whitelist entries (#5418)
Co-authored-by: hauntsaninja <hauntsaninja@users.noreply.github.com>
2021-05-11 22:25:19 -07:00
Shantanu
4df940f96d Update allowlists (#5417)
Co-authored-by: hauntsaninja <>
2021-05-11 22:11:48 -07:00
Jelle Zijlstra
e14085014f more thorough documentation for VERSIONS (#5395) 2021-05-11 06:56:14 -07:00
spaghEddieDoyle
4c72f7f268 Add some missing logging features (#5388) 2021-05-11 10:52:40 +02:00
Shantanu
dd73f117f0 os: fix positional-only args (#5412)
Co-authored-by: hauntsaninja <>
2021-05-11 10:47:12 +02:00
Shantanu
a30ef0db04 pwd: fix positional-only args (#5413)
Co-authored-by: hauntsaninja <>
2021-05-11 10:46:26 +02:00
Shantanu
f720ebb71e Fix workflow path matching (#5414)
@Akuli was right in https://github.com/python/typeshed/pull/5407

Co-authored-by: hauntsaninja <>
2021-05-11 10:29:40 +02:00
Shantanu
d5fc9a6a80 Run stubtest_unused on Darwin (#5410)
Fixes #5405

Co-authored-by: hauntsaninja <>
2021-05-11 09:34:10 +03:00
Shantanu
5e6fb40b56 Fix stubtest unused script (#5411)
Contrary to the comment, this wasn't a mypy_primer issue, nor even a
stubtest issue.

Co-authored-by: hauntsaninja <>
2021-05-11 09:24:37 +03:00
Shantanu
ee8364c216 Only run mypy primer workflows on stdlib (#5407)
Co-authored-by: hauntsaninja <>
2021-05-11 09:21:25 +03:00
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