mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ruff: Enable B008 function-call-in-default-argument.
https://docs.astral.sh/ruff/rules/function-call-in-default-argument/ Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b85dcd0175
commit
b3f18b805d
@@ -145,7 +145,6 @@ ignore = [
|
||||
"ANN102", # Missing type annotation for `cls` in classmethod
|
||||
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
||||
"B007", # Loop control variable not used within the loop body
|
||||
"B008", # Do not perform function calls in argument defaults
|
||||
"B904", # Within an except clause, raise exceptions with raise ... from err or raise ... from None to distinguish them from errors in exception handling
|
||||
"C408", # Unnecessary `dict` call (rewrite as a literal)
|
||||
"COM812", # Trailing comma missing
|
||||
|
Reference in New Issue
Block a user