diff --git a/README.md b/README.md index 755176610..9423259ee 100644 --- a/README.md +++ b/README.md @@ -135,10 +135,10 @@ For mypy, 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 +$ PYTHONPATH=../.. python3 tests/mypy_test.py ``` You can mypy tests to a single version by passing `-p2` or `-p3.5` e.g. ```bash -$ PYTHONPATH=.. python3 tests/mypy_test.py -p3.5 +$ PYTHONPATH=../.. python3 tests/mypy_test.py -p3.5 running mypy --python-version 3.5 --strict-optional # with 342 files ```