mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +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
@@ -23,7 +23,7 @@ from typing import Any, Dict, SupportsInt # noqa: F401
|
||||
from superset.jinja_context import PrestoTemplateProcessor
|
||||
|
||||
|
||||
def DATE(
|
||||
def DATE( # noqa: N802
|
||||
ts: datetime, day_offset: SupportsInt = 0, hour_offset: SupportsInt = 0
|
||||
) -> str:
|
||||
"""Current day as a string"""
|
||||
|
||||
Reference in New Issue
Block a user