Skip to content

Populate [tool.ruff.lint.flake8-quotes.inline-quotes] from [tool.ruff.format.quote-style] #14990

Open
@sobolevn

Description

When configuring flake8-quotes together with the formatter, it seems strange to specify the type of quotes you use twice:

[tool.ruff.format]
quote-style = "single"

[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"

I propose using quote-style from [tool.ruff.format] as a default value for inline-quotes from [tool.ruff.lint.flake8-quotes].

If others agree, I can send a PR.

Metadata

Assignees

No one assigned

    Labels

    configurationRelated to settings and configuration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions