Merge pull request #1718 from bagerard/fix_OptionManager_docstring

fix OptionManager outdated docstring
This commit is contained in:
Anthony Sottile 2022-10-24 17:56:50 -07:00 committed by GitHub
commit 86268cbde8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -319,18 +319,7 @@ class OptionManager:
parents: list[argparse.ArgumentParser],
formatter_names: list[str],
) -> None:
"""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.
"""
"""Initialize an instance of an OptionManager."""
self.formatter_names = formatter_names
self.parser = argparse.ArgumentParser(
prog="flake8",