Viktor Roytman
bbe7e5ef11
Add should_strip_auth to requests SessionRedirectMixin ( #5439 )
2021-05-13 20:58:43 +02:00
Sebastian Rittau
3ba35f3552
Split the tests section, extend ToC ( #5433 )
...
Move and consolidate venv setup and running isort/black/flake8 into
separate sections and link those sections from the ToC. Also extend
those sections slightly.
Move the tests section into a separate file.
Make venv name in pre-commit match name in CONTRIBUTING.
2021-05-13 15:41:04 +02:00
Sebastian Rittau
d98fdd934c
Move VERSIONS description to file itself ( #5434 )
2021-05-13 06:14:44 -07:00
Sebastian Rittau
a34e5a36a8
Describe third-party removal process ( #5435 )
2021-05-13 06:08:55 -07:00
Sebastian Rittau
1b188921fd
Move code of conduct to separate file ( #5432 )
...
The file CODE_OF_CONDUCT.md is the standard location for it and
is treated specially by GitHub, for example by linking to it directly
when opening issues and PRs.
2021-05-13 06:04:31 -07:00
n0ob404
7a9b4f93ba
Add stubs for redis Redis and Pipeline methods ( #5415 )
2021-05-13 09:53:26 +02:00
github-actions[bot]
15e31fe54b
Remove unused stubtest whitelist entries ( #5431 )
2021-05-12 22:22:32 -07:00
Jelle Zijlstra
33bdde6ec4
Update maintainers list ( #5430 )
...
I removed a few people who have not been active in the typing area for a long time, and added @rchen152 who is active on the repo and has commit rights. There are a few other people who have access to the repo but are not active. Listing them here does not seem useful.
2021-05-12 17:16:09 -07:00
Sebastian Rittau
b1577ad1cb
Rework README and CONTRIBUTING ( #5429 )
...
This shuffles sections around between README.md and CONTRIBUTING.md. CONTRIBUTING now contains information pertaining to opening PRs, README all other information. I have also moved the list of maintainers to a separate file.
I have kept most information intact for now, with two main exceptions:
I removed duplicated information.
For brevity's sake, I trimmed some explanations from the section about version checks.
I have restructured the CONTRIBUTING file to follow the order of the introductory "contribution process at a glance" section. This now serves as a bit of a table of contents.
Closes : #5422
2021-05-12 16:25:47 -07:00
Sebastian Rittau
2f30adad19
Remove two files from pytype's exclude list ( #5427 )
2021-05-12 11:58:48 -07:00
Sebastian Rittau
3db20f09ca
pyjwt includes annotations since version 2.0.0 ( #5426 )
...
Relates to #4856
2021-05-12 19:57:48 +03:00
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