mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +00:00
refactor: Enable G logging rules and comprehensive ruff improvements (#35081)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
e1a2e4843a
commit
088ecdd0bf
@@ -51,7 +51,7 @@ class SetSystemDefaultThemeCommand(BaseCommand):
|
||||
self._theme.is_system_default = True
|
||||
db.session.add(self._theme)
|
||||
|
||||
logger.info(f"Set theme {self._theme_id} as system default")
|
||||
logger.info("Set theme %s as system default", self._theme_id)
|
||||
|
||||
return self._theme
|
||||
|
||||
@@ -82,7 +82,7 @@ class SetSystemDarkThemeCommand(BaseCommand):
|
||||
self._theme.is_system_dark = True
|
||||
db.session.add(self._theme)
|
||||
|
||||
logger.info(f"Set theme {self._theme_id} as system dark")
|
||||
logger.info("Set theme %s as system dark", self._theme_id)
|
||||
|
||||
return self._theme
|
||||
|
||||
|
||||
Reference in New Issue
Block a user