Skip to content

[TECH DEBT]: Let python_ast.MaybeTree have multiple failures #3556

Open
@JCZuurmond

Description

@JCZuurmond

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

Let python_ast.MaybeTree have multiple failures as a notebook can have multiple parsing failures: one for each cell.

Proposed Solution

Refactor failure: str to failures: list[str], then rewrite NotebookLinter to return MaybeTree instead of tuple[Tree, list[Failures]]

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmigrate/codeAbstract Syntax Trees and other dark magicmigrate/pythonPull requests that update Python codeneeds-triage

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions