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
@@ -81,8 +81,8 @@ def test_datasource_find_by_ids_skip_base_filter(session_with_data: Session) ->
|
||||
)
|
||||
|
||||
assert result
|
||||
assert [1] == list(map(lambda x: x.id, result))
|
||||
assert ["my_sqla_table"] == list(map(lambda x: x.table_name, result))
|
||||
assert [1] == list(map(lambda x: x.id, result)) # noqa: C417
|
||||
assert ["my_sqla_table"] == list(map(lambda x: x.table_name, result)) # noqa: C417
|
||||
assert isinstance(result[0], SqlaTable)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user