Skip to content

Commit fc23741

Browse files
committed
Enabled ruff rule RET503
1 parent ddff4ee commit fc23741

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/tpch/_tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def check_q17(df):
9191
("q22_global_sales_opportunity", "q22"),
9292
],
9393
)
94-
def test_tpch_query_vs_answer_file(query_code: str, answer_file: str):
94+
def test_tpch_query_vs_answer_file(query_code: str, answer_file: str) -> None:
9595
module = import_module(query_code)
9696
df: DataFrame = module.df
9797

@@ -122,3 +122,5 @@ def test_tpch_query_vs_answer_file(query_code: str, answer_file: str):
122122

123123
assert df.join(df_expected, on=cols, how="anti").count() == 0
124124
assert df.count() == df_expected.count()
125+
126+
return None

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ ignore = [
9292
"N812",
9393
"INP001",
9494
"DTZ007",
95-
"RET503",
9695
"RUF015",
9796
"A005",
9897
"TC001",

0 commit comments

Comments
 (0)