chore: enforce more ruff rules (#31447)

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
Maxime Beauchemin
2024-12-18 17:41:34 -08:00
committed by GitHub
parent 9da65d6bfd
commit e51b95ffa8
375 changed files with 1821 additions and 1718 deletions

View File

@@ -119,7 +119,7 @@ def test_histogram_with_non_numeric_column():
try:
histogram(data, "group", None, bins)
except ValueError as e:
assert str(e) == "Column 'group' contains non-numeric values"
assert str(e) == "Column 'group' contains non-numeric values" # noqa: PT017
def test_histogram_with_some_non_numeric_values():
@@ -133,4 +133,4 @@ def test_histogram_with_some_non_numeric_values():
try:
histogram(data_with_non_numeric, "a", ["group"], bins)
except ValueError as e:
assert str(e) == "Column 'group' contains non-numeric values"
assert str(e) == "Column 'group' contains non-numeric values" # noqa: PT017