mirror of
https://github.com/rjNemo/pass-gen
synced 2026-06-06 02:26:42 +00:00
refactor: change scope
This commit is contained in:
parent
69f1a801de
commit
1c2da99c1a
2 changed files with 1 additions and 6 deletions
|
|
@ -6,7 +6,5 @@
|
|||
- [x] Minimal length
|
||||
- [x] Include symbols
|
||||
- [x] Include numbers
|
||||
- [ ] Include lowercase characters
|
||||
- [ ] Include uppercase characters
|
||||
- [ ] As a user I want the generated password to be copied to the clipboard
|
||||
- [ ] As a user I want the generated password to be saved to a file
|
||||
|
|
|
|||
|
|
@ -23,10 +23,7 @@ def _new_random_generator(seed: int) -> RandomSampler:
|
|||
|
||||
|
||||
def _build_characters(symbols: bool, numbers: bool) -> str:
|
||||
lowercase = string.ascii_lowercase
|
||||
uppercase = string.ascii_uppercase
|
||||
|
||||
characters = lowercase + uppercase
|
||||
characters = string.ascii_letters
|
||||
|
||||
if symbols:
|
||||
characters += string.punctuation
|
||||
|
|
|
|||
Loading…
Reference in a new issue