Method: pylint.config.arguments_manager._ArgumentsManager.load_configuration_from_config
Calls: 2, Exceptions: 0, Paths: 1Back
Path 1: 2 calls (1.0)
{'test_opt': True} (2)
1def load_configuration_from_config(
2 self, config: dict[str, Any]
3 ) -> None: # pragma: no cover
4 warnings.warn(
5 "DEPRECATED: load_configuration_from_config has been deprecated. It will be removed in pylint 3.0.",
6 DeprecationWarning,
7 stacklevel=2,
8 )
9 for opt, opt_value in config.items():
10 opt = opt.replace("_", "-")
11 provider = self._all_options[opt]
12 provider.set_option(opt, opt_value)