chore: upgrade black (#19410)

This commit is contained in:
Ville Brofeldt
2022-03-29 20:03:09 +03:00
committed by GitHub
parent 816a2c3e1e
commit a619cb4ea9
204 changed files with 2125 additions and 608 deletions

View File

@@ -23,7 +23,7 @@ from superset.exceptions import SupersetException
class CommandException(SupersetException):
""" Common base class for Command exceptions. """
"""Common base class for Command exceptions."""
def __repr__(self) -> str:
if self._exception:
@@ -52,7 +52,7 @@ class ObjectNotFoundError(CommandException):
class CommandInvalidError(CommandException):
""" Common base class for Command Invalid errors. """
"""Common base class for Command Invalid errors."""
status = 422