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
Copy file name to clipboardExpand all lines: src/doc/en/developer/tools.rst
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -327,7 +327,10 @@ Pyright
327
327
328
328
- Tox: Run ``./sage -tox -e pyright path/to/the/file.py``
329
329
330
-
- Manual: Run ``pyright path/to/the/file.py``
330
+
- Manual: Run ``pyright path/to/the/file.py``. If you want to check the whole Sage library, you most likely run out of memory with the default settings.
331
+
You can use the following command to check the whole library::
332
+
333
+
NODE_OPTIONS="--max-old-space-size=8192" pyright
331
334
332
335
- VS Code: Install the `Pylance <https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance>`__ extension.
0 commit comments