File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 - run : pip install -U git+git://github.com/python/mypy
7373 - run : ./tests/mypy_test.py --platform=${{ matrix.platform }}
7474
75- mypy-test-suite :
76- name : Run the mypy test suite
77- # Ubuntu 20.04 doesn't have the Python 2 venv module.
78- runs-on : ubuntu-18.04
79- steps :
80- - uses : actions/checkout@v2
81- - uses : actions/setup-python@v2
82- - run : ./tests/mypy_test_suite.py
83-
8475 pyright :
8576 name : Run pyright against the stubs
8677 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ tests typeshed with [mypy](https://github.com/python/mypy/)
55[ pytype] ( https://github.com/google/pytype/ ) .
66- ` tests/pyright_test.py ` tests typeshed with
77[ pyright] ( https://github.com/microsoft/pyright ) .
8- - ` tests/mypy_test_suite.py ` runs a subset of mypy's test suite using this version of
9- typeshed.
108- ` tests/check_consistent.py ` checks certain files in typeshed remain
119consistent with each other.
1210- ` tests/stubtest_test.py ` checks stubs against the objects at runtime.
@@ -53,18 +51,6 @@ but it uses the same pyright version and configuration as the CI.
5351(.venv3)$ python3 tests/pyright_test.py stdlib/sys.pyi # Check one file
5452```
5553
56- ## mypy\_ test\_ suite.py
57-
58- This test requires Python 3.5 or higher; Python 3.6.1 or higher is recommended.
59- Run using:
60- ```
61- (.venv3)$ python3 tests/mypy_test_suite.py
62- ```
63-
64- This test runs mypy's own test suite using the typeshed code in your repo. This
65- will sometimes catch issues with incorrectly typed stubs, but is much slower
66- than the other tests.
67-
6854## check\_ consistent.py
6955
7056Run using:
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments