mirror of
https://github.com/apache/superset.git
synced 2026-04-24 10:35:01 +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
@@ -226,7 +226,7 @@ class BaseReportState:
|
||||
) -> list[str]:
|
||||
"""
|
||||
Retrieve the URL for the dashboard tabs, or return the dashboard URL if no tabs are available.
|
||||
"""
|
||||
""" # noqa: E501
|
||||
force = "true" if self._report_schedule.force_screenshot else "false"
|
||||
if (
|
||||
dashboard_state := self._report_schedule.extra.get("dashboard")
|
||||
@@ -464,7 +464,7 @@ class BaseReportState:
|
||||
}
|
||||
return log_data
|
||||
|
||||
def _get_notification_content(self) -> NotificationContent:
|
||||
def _get_notification_content(self) -> NotificationContent: # noqa: C901
|
||||
"""
|
||||
Gets a notification content, this is composed by a title and a screenshot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user