From e885820bb7f7dafe4620414f711d1b309039012e Mon Sep 17 00:00:00 2001 From: Akuli Date: Sat, 8 May 2021 08:20:43 +0300 Subject: [PATCH] document pyright test better (#5362) --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 30c670202..b959744ae 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,12 @@ This test works similarly to `mypy_test.py`, except it uses `pytype`. ### pyright\_test.py -This test requires Node.js to be installed. +This test requires Node.js to be installed. It is currently not part of the CI, +but it uses the same pyright version and configuration as the CI. +``` +(.venv3)$ python3 tests/pytype_test.py # Check all files +(.venv3)$ python3 tests/pytype_test.py stdlib/sys.pyi # Check one file +``` ### mypy\_test\_suite.py