mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -71,7 +71,7 @@ class CommandInvalidError(CommandException):
|
||||
self._exceptions.extend(exceptions)
|
||||
|
||||
def get_list_classnames(self) -> list[str]:
|
||||
return list(sorted({ex.__class__.__name__ for ex in self._exceptions}))
|
||||
return sorted({ex.__class__.__name__ for ex in self._exceptions})
|
||||
|
||||
def normalized_messages(self) -> dict[Any, Any]:
|
||||
errors: dict[Any, Any] = {}
|
||||
|
||||
Reference in New Issue
Block a user