You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3e24c65
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: tests/README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,19 @@ checks that would typically fail on incomplete stubs (such as `Unknown` checks).
78
78
In typeshed's CI, pyright is run with these configuration settings on a subset of
79
79
the stubs in typeshed (including the standard library).
80
80
81
+
In order for `pyright_test` to work correctly, some third-party stubs may require
82
+
dependencies external to typeshed to be installed in your virtual environment
83
+
prior to running the test.
84
+
You can list or install all of a stubs package's external dependencies using the following script:
85
+
```bash
86
+
(.venv3)$ python tests/get_external_stub_requirements.py <third_party_stub># List external dependencies for <third_party_stub>
87
+
(.venv3)$ python tests/get_external_stub_requirements.py <third_party_stub1><third_party_stub2># List external dependencies for <third_party_stub1> and <third_party_stub2>
88
+
(.venv3)$ python tests/get_external_stub_requirements.py # List external dependencies for all third-party stubs in typeshed
89
+
# Install external dependencies for all third-party stubs in typeshed
0 commit comments