Skip to content

Commit 9d90401

Browse files
committed
Fix ARG005 per file ignore
1 parent d016fda commit 9d90401

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

machine_learning/linear_discriminant_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def valid_input(
256256
input_type: Callable[[object], num], # Usually float or int
257257
input_msg: str,
258258
err_msg: str,
259-
condition: Callable[[num], bool] = lambda x: True,
259+
condition: Callable[[num], bool] = lambda _: True,
260260
default: str | None = None,
261261
) -> num:
262262
"""

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ max-complexity = 17 # default: 10
8686
"graphs/minimum_spanning_tree_prims.py" = ["SIM114"]
8787
"hashes/enigma_machine.py" = ["BLE001"]
8888
"machine_learning/decision_tree.py" = ["SIM114"]
89-
"machine_learning/linear_discriminant_analysis.py" = ["ARG005"]
9089
"machine_learning/sequential_minimum_optimization.py" = ["SIM115"]
9190
"matrix/sherman_morrison.py" = ["SIM103", "SIM114"]
9291
"other/l*u_cache.py" = ["RUF012"]

0 commit comments

Comments
 (0)