Skip to content

Pyright Configurations

Tip

Official documentation for Pyright is available at https://microsoft.github.io/pyright

Danger

If you want to create new directories in the root directory, you must add them to the include list in the pyrightconfig.json file.

pyrightconfig.json
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
{
    "pythonVersion": "3.12",
    "pythonPlatform": "All",
    "venv": ".venv",
    "typeCheckingMode": "standard",
    "include": [
        "tools"
    ],
    "exclude": [
        "**/__pycache__",
        ".pytest_cache",
        ".ruff_cache",
        ".venv"
    ],
}