mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Enable ruff ARG001 rule (#11321)
* Enable ruff ARG001 rule * Fix dynamic_programming/combination_sum_iv.py * Fix machine_learning/frequent_pattern_growth.py * Fix other/davis_putnam_logemann_loveland.py * Fix other/password.py * Fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix physics/n_body_simulation.py * Fix project_euler/problem_145/sol1.py * Fix project_euler/problem_174/sol1.py * Fix scheduling/highest_response_ratio_next.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * Fix * Fix scheduling/job_sequencing_with_deadline.py * Fix scheduling/job_sequencing_with_deadline.py * Fix * Fix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -51,18 +51,6 @@ def random(chars_incl: str, i: int) -> str:
|
||||
return "".join(secrets.choice(chars_incl) for _ in range(i))
|
||||
|
||||
|
||||
def random_number(chars_incl, i):
|
||||
pass # Put your code here...
|
||||
|
||||
|
||||
def random_letters(chars_incl, i):
|
||||
pass # Put your code here...
|
||||
|
||||
|
||||
def random_characters(chars_incl, i):
|
||||
pass # Put your code here...
|
||||
|
||||
|
||||
def is_strong_password(password: str, min_length: int = 8) -> bool:
|
||||
"""
|
||||
This will check whether a given password is strong or not. The password must be at
|
||||
|
Reference in New Issue
Block a user