Remove unused variable reported by Pyright (#3368)
This commit is contained in:
parent
a67b2dea60
commit
d5c210f933
|
|
@ -29,7 +29,7 @@ _VT100_ESCAPE_REGEX_BYTES = _VT100_ESCAPE_REGEX.encode()
|
|||
|
||||
def generate_password(length: int = 64) -> str:
|
||||
haystack = string.printable # digits, ascii_letters, punctuation (!"#$[] etc) and whitespace
|
||||
return ''.join(secrets.choice(haystack) for i in range(length))
|
||||
return ''.join(secrets.choice(haystack) for _ in range(length))
|
||||
|
||||
|
||||
def locate_binary(name: str) -> str:
|
||||
|
|
|
|||
Loading…
Reference in New Issue