mirror of
https://github.com/apache/superset.git
synced 2026-04-26 19:44:58 +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
@@ -80,5 +80,5 @@ def test_form_data_to_adhoc_generates_deterministic_values():
|
||||
def test_form_data_to_adhoc_incorrect_clause_type():
|
||||
form_data = {"where": "1 = 1", "having": "count(*) > 1"}
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
with pytest.raises(ValueError): # noqa: PT011
|
||||
form_data_to_adhoc(form_data, "foobar")
|
||||
|
||||
Reference in New Issue
Block a user