Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3925b81

Browse files
Fix ARG005 per file ignore (TheAlgorithms#11383)
1 parent d016fda commit 3925b81

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎machine_learning/linear_discriminant_analysis.py‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 0 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /