Skip to content

Commit c092328

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1c9728e commit c092328

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

codespell_lib/_codespell.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -389,15 +389,13 @@ def _supports_ansi_colors() -> bool:
389389
def parse_options(
390390
args: Sequence[str],
391391
) -> tuple[argparse.Namespace, argparse.ArgumentParser, list[str]]:
392-
393392
# Split lines read from `@PATH` using shlex.split(), otherwise default
394-
# behaviour is to have one arg per line. See:
393+
# behaviour is to have one arg per line. See:
395394
# https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.convert_arg_line_to_args
396395
class ArgumentParser(argparse.ArgumentParser):
397-
def convert_arg_line_to_args(self, arg_line: str
398-
) -> None:
396+
def convert_arg_line_to_args(self, arg_line: str) -> None:
399397
return shlex.split(arg_line)
400-
398+
401399
parser = ArgumentParser(
402400
formatter_class=NewlineHelpFormatter,
403401
fromfile_prefix_chars="@",

0 commit comments

Comments
 (0)