Skip to content

Commit 1fe33ea

Browse files
committed
Enable additional lint
1 parent 520c0d0 commit 1fe33ea

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,9 @@ ignore = [
8686
"SLF001", # Allow accessing private members
8787
"TD002", # Do not require author names in TODO statements
8888
"TD003", # Allow TODO lines
89+
"PLR0913", # Allow many arguments in function definition
8990
# TODO: Enable all of the following, but this PR is getting too large already
90-
"PLR0913",
91-
"TRY003",
92-
"PLR2004",
91+
# "TRY003",
9392
"PD901",
9493
"ERA001",
9594
"ANN001",
@@ -130,7 +129,7 @@ extend-allowed-calls = ["lit", "datafusion.lit"]
130129
"PLR0913",
131130
"PT004",
132131
]
133-
"examples/*" = ["D", "W505", "E501", "T201", "S101"]
132+
"examples/*" = ["D", "W505", "E501", "T201", "S101", "PLR2004"]
134133
"dev/*" = ["D", "E", "T", "S", "PLR", "C", "SIM", "UP", "EXE", "N817"]
135134
"benchmarks/*" = ["D", "F", "T", "BLE", "FURB", "PLR", "E", "TD", "TRY", "S", "SIM", "EXE", "UP"]
136135
"docs/*" = ["D"]

python/datafusion/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ def join(
829829
# of a keyword argument.
830830
if (
831831
isinstance(on, tuple)
832-
and len(on) == 2
832+
and len(on) == 2 # noqa: PLR2004
833833
and isinstance(on[0], list)
834834
and isinstance(on[1], list)
835835
):

0 commit comments

Comments
 (0)