File tree 3 files changed +0
-54
lines changed
3 files changed +0
-54
lines changed Original file line number Diff line number Diff line change 72
72
- run : pip install -U git+git://github.com/python/mypy
73
73
- run : ./tests/mypy_test.py --platform=${{ matrix.platform }}
74
74
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
-
84
75
pyright :
85
76
name : Run pyright against the stubs
86
77
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/)
5
5
[ pytype] ( https://github.com/google/pytype/ ) .
6
6
- ` tests/pyright_test.py ` tests typeshed with
7
7
[ 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.
10
8
- ` tests/check_consistent.py ` checks certain files in typeshed remain
11
9
consistent with each other.
12
10
- ` 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.
53
51
(.venv3)$ python3 tests/pyright_test.py stdlib/sys.pyi # Check one file
54
52
```
55
53
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
-
68
54
## check\_ consistent.py
69
55
70
56
Run using:
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments