Marco Ricci commited on 2025-01-29 15:33:36
Zeige 2 geänderte Dateien mit 6 Einfügungen und 3 Löschungen.
The "dash" class is a subset of "symbol", so we can't talk about "all hitherto unlisted ASCII printable characters", but should list the exceptions explicitly.
| ... | ... |
@@ -2536,7 +2536,9 @@ def derivepassphrase_vault( # noqa: C901,PLR0912,PLR0913,PLR0914,PLR0915 |
| 2536 | 2536 |
the hyphen-minus and underscore characters. |
| 2537 | 2537 |
symbol: |
| 2538 | 2538 |
Command-line argument `--symbol`. Same as `lower`, but for |
| 2539 |
- all other ASCII printable characters (except backquote). |
|
| 2539 |
+ all other ASCII printable characters except lowercase |
|
| 2540 |
+ characters, uppercase characters, digits, space and |
|
| 2541 |
+ backquote. |
|
| 2540 | 2542 |
edit_notes: |
| 2541 | 2543 |
Command-line argument `-n`/`--notes`. If given, spawn an |
| 2542 | 2544 |
editor to edit notes for `service`. |
| ... | ... |
@@ -143,8 +143,9 @@ class Vault: |
| 143 | 143 |
Same as `lower`, but for the hyphen-minus and underscore |
| 144 | 144 |
characters. |
| 145 | 145 |
symbol: |
| 146 |
- Same as `lower`, but for all other hitherto unlisted |
|
| 147 |
- ASCII printable characters (except backquote). |
|
| 146 |
+ Same as `lower`, but for all other ASCII printable |
|
| 147 |
+ characters except lowercase characters, uppercase |
|
| 148 |
+ characters, digits, space and backquote. |
|
| 148 | 149 |
|
| 149 | 150 |
Raises: |
| 150 | 151 |
ValueError: |
| 151 | 152 |