Ruff
903 rules ruff@0.17.0
Complete effective rule inventory.
Rules
No enabled Ruff rules match this search.
-
F406from {name} import *only allowed at module level -
F407Future feature
{name}is not defined -
F501%-format string has invalid format string: {message} -
F502%-format string expected mapping but got sequence -
F503%-format string expected sequence but got mapping -
F504%-format string has unused named argument(s): {message} -
F505%-format string is missing argument(s) for placeholder(s): {message} -
F506%-format string has mixed positional and named placeholders -
F507%-format string has {wanted} placeholder(s) but {got} substitution(s) -
F508%-format string*specifier requires sequence -
F509%-format string has unsupported format character{char} -
F521.formatcall has invalid format string: {message} -
F522.formatcall has unused named argument(s): {message} -
F523.formatcall has unused arguments at position(s): {message} -
F524.formatcall is missing argument(s) for placeholder(s): {message} -
F525.formatstring mixes automatic and manual numbering -
F541f-string without any placeholders
-
F601Dictionary key literal
{name}repeated -
F602Dictionary key
{name}repeated -
F621Too many expressions in star-unpacking assignment
-
F622Two starred expressions in assignment
-
F631Assert test is a non-empty tuple, which is always
True -
F632Use
==to compare constant literals -
F633Use of
>>is invalid withprintfunction -
F634If test is a tuple, which is always
True -
F701breakoutside loop -
F702continuenot properly in loop -
F704{keyword}statement outside of a function -
F706returnstatement outside of a function/method -
F707An
exceptblock as not the last exception handler -
F722Syntax error in forward annotation: {parse_error}
-
F811Redefinition of unused
{name}from {row}