Method: pylint.config.arguments_manager._ArgumentsManager.load_config_file
Calls: 1, Exceptions: 0, Paths: 1Back
Path 1: 1 calls (1.0)
1def load_config_file(self) -> None: # pragma: no cover
2 """DEPRECATED: Dispatch values previously read from a configuration file to each
3 option's provider.
4 """
5 warnings.warn(
6 "load_config_file has been deprecated. It will be removed in pylint 3.0.",
7 DeprecationWarning,
8 stacklevel=2,
9 )
10 parser = self.cfgfile_parser
11 for section in parser.sections():
12 for option, value in parser.items(section):
13 try:
14 self.global_set_option(option, value)
15 except (KeyError, optparse.OptionError):
16 continue