Last active
May 29, 2025 03:08
-
-
Save minhnguyent546/7b9f8cf6f54a16d94360724f6c314080 to your computer and use it in GitHub Desktop.
My pyrightconfig.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json", | |
| "pythonVersion": "3.10", | |
| "venv": ".venv", // path to `venv` or `conda env` | |
| "venvPath": ".", | |
| "typeCheckingMode": "strict", | |
| // disable some settings for incomplete stubs | |
| "reportIncompleteStub": "none", | |
| "reportMissingParameterType": "none", | |
| "reportUnknownMemberType": "none", | |
| "reportUnknownParameterType": "none", | |
| "reportUnknownVariableType": "none", | |
| // moderate some settings | |
| "reportMissingTypeStubs": "none", | |
| "reportUnusedClass": "warning", | |
| "reportUnusedImport": "warning", | |
| "reportUnusedFunction": "warning", | |
| "reportUnusedVariable": "warning", | |
| "reportUnknownArgumentType": "none", | |
| // enable some strict settings | |
| "reportCallInDefaultInitializer": "error", | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment