We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8cda19 commit f8a9b29Copy full SHA for f8a9b29
1 file changed
codespell_lib/_codespell.py
@@ -389,14 +389,13 @@ def _supports_ansi_colors() -> bool:
389
def parse_options(
390
args: Sequence[str],
391
) -> tuple[argparse.Namespace, argparse.ArgumentParser, list[str]]:
392
-
393
# Split lines read from `@PATH` using shlex.split(), otherwise default
394
- # behaviour is to have one arg per line. See:
+ # behaviour is to have one arg per line. See:
395
# https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.convert_arg_line_to_args
396
class ArgumentParser(argparse.ArgumentParser):
397
def convert_arg_line_to_args(self, arg_line):
398
return shlex.split(arg_line)
399
+
400
parser = ArgumentParser(
401
formatter_class=NewlineHelpFormatter,
402
fromfile_prefix_chars="@",
0 commit comments