test: Avoid F541 (f-string without any placeholders)

This commit is contained in:
MarcoFalke
2024-12-04 14:42:27 +01:00
parent 11f68cc810
commit fae76393bd
19 changed files with 30 additions and 29 deletions

View File

@@ -226,6 +226,7 @@ fn lint_py_lint() -> LintResult {
"F405", // foo_function may be undefined, or defined from star imports: bar_module
"F406", // "from module import *" only allowed at module level
"F407", // an undefined __future__ feature name was imported
"F541", // f-string without any placeholders
"F601", // dictionary key name repeated with different values
"F602", // dictionary key variable name repeated with different values
"F621", // too many expressions in an assignment with star-unpacking