Support @tests/requirements-stubtest.txt files (#5704)

This commit is contained in:
Sebastian Rittau
2021-06-28 19:42:27 +02:00
committed by GitHub
parent 6b8f047b05
commit 2b64f54008
2 changed files with 16 additions and 0 deletions

View File

@@ -113,3 +113,7 @@ check on the command line:
```
(.venv3)$ python3 tests/stubtest_third_party.py Pillow toml # check stubs/Pillow and stubs/toml
```
For each distribution, stubtest ignores definitions listed in a `@tests/stubtest_allowlist.txt` file,
relative to the distribution. Additional packages that are needed to run stubtest for a
distribution can be added to `@tests/requirements-stubtest.txt`.