mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 21:44:18 +00:00
Merge pull request #1718 from bagerard/fix_OptionManager_docstring
fix OptionManager outdated docstring
This commit is contained in:
commit
86268cbde8
1 changed files with 1 additions and 12 deletions
|
|
@ -319,18 +319,7 @@ class OptionManager:
|
||||||
parents: list[argparse.ArgumentParser],
|
parents: list[argparse.ArgumentParser],
|
||||||
formatter_names: list[str],
|
formatter_names: list[str],
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Initialize an instance of an OptionManager.
|
"""Initialize an instance of an OptionManager."""
|
||||||
|
|
||||||
:param prog:
|
|
||||||
Name of the actual program (e.g., flake8).
|
|
||||||
:param version:
|
|
||||||
Version string for the program.
|
|
||||||
:param usage:
|
|
||||||
Basic usage string used by the OptionParser.
|
|
||||||
:param parents:
|
|
||||||
A list of ArgumentParser objects whose arguments should also be
|
|
||||||
included.
|
|
||||||
"""
|
|
||||||
self.formatter_names = formatter_names
|
self.formatter_names = formatter_names
|
||||||
self.parser = argparse.ArgumentParser(
|
self.parser = argparse.ArgumentParser(
|
||||||
prog="flake8",
|
prog="flake8",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue