Enable RUF023 (#135830)
This commit is contained in:
committed by
GitHub
parent
23e04ced9c
commit
ef8b8fbbaa
@@ -765,6 +765,7 @@ select = [
|
||||
"RUF020", # {never_like} | T is equivalent to T
|
||||
"RUF021", # Parenthesize a and b expressions when chaining and and or together, to make the precedence clear
|
||||
"RUF022", # Sort __all__
|
||||
"RUF023", # Sort __slots__
|
||||
"RUF024", # Do not pass mutable objects as values to dict.fromkeys
|
||||
"RUF026", # default_factory is a positional-only argument to defaultdict
|
||||
"RUF030", # print() call in assert statement is likely unintentional
|
||||
|
||||
Reference in New Issue
Block a user