chore(🦾): bump python ruff 0.4.5 -> 0.8.0 (#31001)

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
This commit is contained in:
github-actions[bot]
2024-11-24 17:30:48 -08:00
committed by GitHub
parent 3aa8f32ca9
commit 1e4098a29e
7 changed files with 9 additions and 6 deletions

View File

@@ -1091,7 +1091,7 @@ def test__normalize_prequery_result_type(
columns_by_name,
)
assert type(normalized) == type(result)
assert isinstance(normalized, type(result))
if isinstance(normalized, TextClause):
assert str(normalized) == str(result)

View File

@@ -91,7 +91,7 @@ class TestBaseViz(SupersetTestCase):
datasource = self.get_datasource_mock()
test_viz = viz.BaseViz(datasource, form_data)
result = test_viz.get_df(query_obj)
assert type(result) == pd.DataFrame
assert isinstance(result, pd.DataFrame)
assert result.empty
def test_get_df_handles_dttm_col(self):