Fix ARG005 per file ignore (#11383)

This commit is contained in:
Maxim Smolskiy 2024-04-24 07:32:25 +03:00 committed by GitHub
parent d016fda51c
commit 3925b8155b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -256,7 +256,7 @@ def valid_input(
input_type: Callable[[object], num], # Usually float or int input_type: Callable[[object], num], # Usually float or int
input_msg: str, input_msg: str,
err_msg: str, err_msg: str,
condition: Callable[[num], bool] = lambda x: True, condition: Callable[[num], bool] = lambda _: True,
default: str | None = None, default: str | None = None,
) -> num: ) -> num:
""" """

View File

@ -86,7 +86,6 @@ max-complexity = 17 # default: 10
"graphs/minimum_spanning_tree_prims.py" = ["SIM114"] "graphs/minimum_spanning_tree_prims.py" = ["SIM114"]
"hashes/enigma_machine.py" = ["BLE001"] "hashes/enigma_machine.py" = ["BLE001"]
"machine_learning/decision_tree.py" = ["SIM114"] "machine_learning/decision_tree.py" = ["SIM114"]
"machine_learning/linear_discriminant_analysis.py" = ["ARG005"]
"machine_learning/sequential_minimum_optimization.py" = ["SIM115"] "machine_learning/sequential_minimum_optimization.py" = ["SIM115"]
"matrix/sherman_morrison.py" = ["SIM103", "SIM114"] "matrix/sherman_morrison.py" = ["SIM103", "SIM114"]
"other/l*u_cache.py" = ["RUF012"] "other/l*u_cache.py" = ["RUF012"]