Skip to content

Support python 3.14 syntax #268

@simon-pactum

Description

@simon-pactum

Noticed python 3.14 is now officially supported in import-linter, would be great if grimp would recognize t-strings

mkdir example
echo 't"hello"' > example/__init__.py
python -c 'import grimp; grimp.build_graph("example")'

grimp.exceptions.SourceSyntaxError: Syntax error in /app/example/__init__.py, line 1: t"hello"

It looks like the ruff crates support template strings - I had a look around but couldn't easily find where the t-strings turned into syntax error.


grimp: 3.13
python: 3.14.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions