Skip to content

Commit

Permalink
Convert old syntax for Yields annotations to new syntax
Browse files Browse the repository at this point in the history
[Griffe now handles non-multiple yields and returns similarly.] [YIELDS]
There is thus no need for an empty argument name and type annotation.

[YIELDS]: mkdocstrings/griffe#263
  • Loading branch information
the-13th-letter committed Sep 29, 2024
1 parent 7dbdf93 commit ecb6c99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/derivepassphrase/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,8 @@ def _get_suitable_ssh_keys(
previous case.
Yields:
:
Every SSH key from the SSH agent that is suitable for
passphrase derivation.
Every SSH key from the SSH agent that is suitable for passphrase
derivation.
Raises:
KeyError:
Expand Down
3 changes: 1 addition & 2 deletions src/derivepassphrase/exporter/storeroom.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,7 @@ def decrypt_bucket_file(
interpreted relatively to this directory.
Yields:
:
A decrypted bucket item.
A decrypted bucket item.
Raises:
cryptography.exceptions.InvalidSignature:
Expand Down

0 comments on commit ecb6c99

Please sign in to comment.