wemake-python-styleguide icon indicating copy to clipboard operation
wemake-python-styleguide copied to clipboard

Review WPS305 (f-string found violation) inclusion

Open Sxderp opened this issue 8 months ago • 3 comments

https://wemake-python-styleguide.readthedocs.io/en/latest/pages/usage/violations/consistency.html#wemake_python_styleguide.violations.consistency.FormattedStringViolation

The violation has been removed because "ruff covers this rule." However, I can't find a ruff rule that actually covers it. There are ruff rules that do the opposite (perfer f-string over format).

Am I missing something? Which rule should I be enabling to get similar behavior?

https://docs.astral.sh/ruff/rules/

Sxderp avatar Feb 12 '25 16:02 Sxderp