mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Fix ARG005 per file ignore (#11383)
This commit is contained in:
parent
d016fda51c
commit
3925b8155b
|
@ -256,7 +256,7 @@ def valid_input(
|
|||
input_type: Callable[[object], num], # Usually float or int
|
||||
input_msg: str,
|
||||
err_msg: str,
|
||||
condition: Callable[[num], bool] = lambda x: True,
|
||||
condition: Callable[[num], bool] = lambda _: True,
|
||||
default: str | None = None,
|
||||
) -> num:
|
||||
"""
|
||||
|
|
|
@ -86,7 +86,6 @@ max-complexity = 17 # default: 10
|
|||
"graphs/minimum_spanning_tree_prims.py" = ["SIM114"]
|
||||
"hashes/enigma_machine.py" = ["BLE001"]
|
||||
"machine_learning/decision_tree.py" = ["SIM114"]
|
||||
"machine_learning/linear_discriminant_analysis.py" = ["ARG005"]
|
||||
"machine_learning/sequential_minimum_optimization.py" = ["SIM115"]
|
||||
"matrix/sherman_morrison.py" = ["SIM103", "SIM114"]
|
||||
"other/l*u_cache.py" = ["RUF012"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user