Method: pylint.config.option.Option.__init__
Calls: 1520, Exceptions: 0, Paths: 1Back
Path 1: 1520 calls (1.0)
('-h', '--help') (1519) ('--test-opt',) (1)
{'action': 'help', 'help': 'show this help message and exit'} (1519) {'action': 'store_true', 'help': 'help message'} (1)
1def __init__(self, *opts: Any, **attrs: Any) -> None:
2 # TODO: 3.0: Remove deprecated class
3 warnings.warn(
4 "Option has been deprecated and will be removed in pylint 3.0",
5 DeprecationWarning,
6 stacklevel=2,
7 )
8 super().__init__(*opts, **attrs)
9 if hasattr(self, "hide") and self.hide:
10 self.help = optparse.SUPPRESS_HELP