Skip to content

Consider replacing string parsing with ast #3504

@VyasGuru

Description

@VyasGuru

inspect_without_import.py currently uses basic string parsing to get the functions from start_tasks.py
This might cause problems with indenting and formatting with small things like whitespaces.

I'd suggest using Python's ast to inspect the file, as this makes it more robust and not susceptible to the parsing errors previously mentioned.

If there isn't anyone working on this already, I'd be glad to give this a go. Waiting for a maintainer to review this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions