mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 02:41:16 +08:00
Improve test-suite documentation (#7756)
- mypy_test and pyright no longer just test the stubs, they now also test other parts of typeshed as well. - pytype_test.py can now be run on 3.10, meaning the whole test suite can now also be run on 3.10. - Various test scripts now have from `__future__ import annotations`, meaning they can now only be run on 3.7+. - Clean up the description of pyright_test.py, which had a slightly confusing wording. - Also fix the `--dry-run` config option in mypy_test.py, which I accidentally broke in #7746
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
||||
- run: ./tests/pytype_test.py --print-stderr
|
||||
|
||||
mypy:
|
||||
name: Run mypy against the stubs
|
||||
name: Run mypy against typeshed
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
- run: ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
|
||||
|
||||
pyright:
|
||||
name: Run pyright against the stubs
|
||||
name: Run pyright against typeshed
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user