Skip to content

Creates invalid syntax in the presence of raw strings #22

@flying-sheep

Description

@flying-sheep

For me, it changed the valid TOML

[tool.ruff]
lint.flake8-copyright.notice-rgx = 'SPDX-License-Identifier: MPL-2\.0'

into the invalid …MPL-2\.0" (\. is not a valid escape sequence in a ""-string)

pyproject-fmt needs to preserve raw strings everywhere.

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