Skip to content

Commit

Permalink
stubgen: Add flagfile support
Browse files Browse the repository at this point in the history
  • Loading branch information
KapJI committed Oct 28, 2024
1 parent 5313497 commit f3c7e18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mypy/stubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,9 @@ def generate_stubs(options: Options) -> None:


def parse_options(args: list[str]) -> Options:
parser = argparse.ArgumentParser(prog="stubgen", usage=HEADER, description=DESCRIPTION)
parser = argparse.ArgumentParser(
prog="stubgen", usage=HEADER, description=DESCRIPTION, fromfile_prefix_chars="@"
)

parser.add_argument(
"--ignore-errors",
Expand Down

0 comments on commit f3c7e18

Please sign in to comment.