Skip to content

Commit

Permalink
lint: Reformat with black.
Browse files Browse the repository at this point in the history
  • Loading branch information
adambirds committed Apr 30, 2021
1 parent 3d70750 commit ec2679f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xkcd_pass/xkcd_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def n_words_validator(answer: Union[str, int]) -> int:


def emit_passwords(wordlist: List[str], options: argparse.Namespace) -> None:
""" Generate the specified number of passwords and output them. """
"""Generate the specified number of passwords and output them."""
count = options.count
while count > 0:
print(
Expand All @@ -345,15 +345,15 @@ def emit_passwords(wordlist: List[str], options: argparse.Namespace) -> None:


class xkcd_passArgumentParser(argparse.ArgumentParser):
""" Command-line argument parser for this program. """
"""Command-line argument parser for this program."""

def __init__(self: Any, *args: Any, **kwargs: Any):
super(xkcd_passArgumentParser, self).__init__(*args, **kwargs)

self._add_arguments()

def _add_arguments(self) -> None:
""" Add the arguments needed for this program. """
"""Add the arguments needed for this program."""
exclusive_group = self.add_mutually_exclusive_group()
self.add_argument(
"-w",
Expand Down Expand Up @@ -482,7 +482,7 @@ def _add_arguments(self) -> None:


def main() -> int:
""" Mainline code for this program. """
"""Mainline code for this program."""

exit_status = 0

Expand Down

0 comments on commit ec2679f

Please sign in to comment.