mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore: set up ruff as a new linter/formatter (#28158)
This commit is contained in:
committed by
GitHub
parent
e8a678b75a
commit
2d63722150
@@ -20,7 +20,7 @@ from typing import Optional
|
||||
import pytest
|
||||
|
||||
from tests.unit_tests.db_engine_specs.utils import assert_convert_dttm
|
||||
from tests.unit_tests.fixtures.common import dttm
|
||||
from tests.unit_tests.fixtures.common import dttm # noqa: F401
|
||||
|
||||
|
||||
def test_epoch_to_dttm() -> None:
|
||||
@@ -64,7 +64,9 @@ def test_alter_new_orm_column() -> None:
|
||||
],
|
||||
)
|
||||
def test_convert_dttm(
|
||||
target_type: str, expected_result: Optional[str], dttm: datetime
|
||||
target_type: str,
|
||||
expected_result: Optional[str],
|
||||
dttm: datetime, # noqa: F811
|
||||
) -> None:
|
||||
from superset.db_engine_specs.crate import CrateEngineSpec as spec
|
||||
|
||||
|
||||
Reference in New Issue
Block a user