Skip to content

Pyright static analysis doesn't propagate fully to Python Quarto cell #734

Open
@jackkrebsbach

Description

@jackkrebsbach

Bug description

Not all of Pyright's static code analysis propagates to Quarto Python cells. In particular, we do not get warnings for undefined variables. This seems to not happen in Python files themselves. In the example below I would expect the same error of an undefined variable as I see in the Python file.

Image

vscode extension version: 1.123.0
Positron Version: 2025.06.0 (Universal) build 167
Code - OSS Version: 1.100.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingvscode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions