mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
refactor: Enable G logging rules and comprehensive ruff improvements (#35081)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
e1a2e4843a
commit
088ecdd0bf
@@ -572,7 +572,7 @@ class AuditMixinNullable(AuditMixin):
|
||||
humanize.i18n.deactivate()
|
||||
return result
|
||||
except Exception as e:
|
||||
logger.warning(f"Locale '{locale}' is not supported in humanize: {e}")
|
||||
logger.warning("Locale '%s' is not supported in humanize: %s", locale, e)
|
||||
return humanize.naturaltime(time_diff)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user