mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore: set up ruff as a new linter/formatter (#28158)
This commit is contained in:
committed by
GitHub
parent
e8a678b75a
commit
2d63722150
@@ -169,5 +169,6 @@ def _make_decorator(
|
||||
def _get_logger(decorated: Decorated) -> Logger:
|
||||
module = getmodule(decorated)
|
||||
return module.__dict__.get(
|
||||
_LOGGER_VAR_NAME, logging.getLogger(module.__name__) # type: ignore
|
||||
_LOGGER_VAR_NAME,
|
||||
logging.getLogger(module.__name__), # type: ignore
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user