From 24532a101e3b85749b59a04a4f4194aa8d312e7d Mon Sep 17 00:00:00 2001 From: Akuli Date: Mon, 10 May 2021 17:56:26 +0300 Subject: [PATCH] readme: delete old mypy submodule stuff (#5399) --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 328aa33c3..75585fdf2 100644 --- a/README.md +++ b/README.md @@ -147,16 +147,9 @@ imported but doesn't check whether stubs match their implementation (in the Python standard library or a third-party package). It has an exclude list of modules that are not tested at all, which also lives in the tests directory. -If you are in the typeshed repo that is submodule of the -mypy repo (so `..` refers to the mypy repo), there's a shortcut to run -the mypy tests that avoids installing mypy: -```bash -$ PYTHONPATH=../.. python3 tests/mypy_test.py -``` You can restrict mypy tests to a single version by passing `-p2` or `-p3.9`: ```bash -$ PYTHONPATH=../.. python3 tests/mypy_test.py -p3.9 -running mypy --python-version 3.9 --strict-optional # with 342 files +(.venv3)$ python3 tests/mypy_test.py -p3.9 ``` ### pytype_test.py