make flake8 5 happy (#12704)

This commit is contained in:
Kyle Altendorf 2022-08-01 11:53:11 -04:00 committed by GitHub
parent 83f08b5807
commit 14ada52e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,9 @@ def passphrase_cmd():
@passphrase_cmd.command( @passphrase_cmd.command(
"set", "set",
help="""Sets or updates the keyring passphrase. If --passphrase-file and/or --current-passphrase-file options are provided, help="""Sets or updates the keyring passphrase. If --passphrase-file and/or --current-passphrase-file options are
the passphrases will be read from the specified files. Otherwise, a prompt will be provided to enter the provided, the passphrases will be read from the specified files. Otherwise, a prompt will be provided to
passphrase.""", enter the passphrase.""",
short_help="Set or update the keyring passphrase", short_help="Set or update the keyring passphrase",
) )
@click.option("--passphrase-file", type=click.File("r"), help="File or descriptor to read the passphrase from") @click.option("--passphrase-file", type=click.File("r"), help="File or descriptor to read the passphrase from")
@ -74,8 +74,8 @@ def set_cmd(
@passphrase_cmd.command( @passphrase_cmd.command(
"remove", "remove",
help="""Remove the keyring passphrase. If the --current-passphrase-file option is provided, the passphrase will be read from help="""Remove the keyring passphrase. If the --current-passphrase-file option is provided, the passphrase will be
the specified file. Otherwise, a prompt will be provided to enter the passphrase.""", read from the specified file. Otherwise, a prompt will be provided to enter the passphrase.""",
short_help="Remove the keyring passphrase", short_help="Remove the keyring passphrase",
) )
@click.option( @click.option(