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

This commit is contained in:
MarcoFalke committed 2024-12-05 08:39:09 +01:00
1 parent 11f68cc810
commit fae76393bd
19 files changed
+30 -29

No files matched your search

+1
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