这是indexloc提供的服务,不要输入任何密码
Skip to content

Implement flake8-use-fstring #2097

@Secrus

Description

@Secrus

https://github.com/MichaelKim0407/flake8-use-fstring

  • FS001: % formatting is used.

  • FS002: .format formatting is used.

  • FS003: f-string missing prefix (ignored by default).

Config options:
--percent-greedy, --format-greedy

  • Level 0 (default): only report error if the value before % or .format is a string literal.

  • Level 1: report error if a string literal appears before % or .format anywhere in the statement.

  • Level 2: report any usage of % or .format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginImplementing a known but unsupported pluginquestionAsking for support or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions