Method: pylint.config.arguments_provider._ArgumentsProvider.option_value
Calls: 137, Exceptions: 0, Paths: 1Back
Path 1: 137 calls (1.0)
'example-args' (1) 'ignore' (1) 'ignore-patterns' (1) 'ignore-paths' (1) 'persistent' (1) 'load-plugins' (1) 'output-format' (1) 'reports' (1) 'evalua...
False (17) None (13) True (12) () (11) [] (9) '' (9) 'snake_case' (6) Pattern (5) 1 (3) 5 (3)
1def option_value(self, opt: str) -> Any: # pragma: no cover
2 """DEPRECATED: Get the current value for the given option."""
3 warnings.warn(
4 "option_value has been deprecated. It will be removed "
5 "in a future release.",
6 DeprecationWarning,
7 stacklevel=2,
8 )
9 return getattr(self._arguments_manager.config, opt.replace("-", "_"), None)