"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pylint/config/config_initialization.py" between
pylint-2.14.1.tar.gz and pylint-2.14.2.tar.gz

About: pylint analyzes Python source code looking for bugs and signs of poor quality.

config_initialization.py  (pylint-2.14.1):config_initialization.py  (pylint-2.14.2)
skipping to change at line 47 skipping to change at line 47
try: try:
config_data, config_args = config_file_parser.parse_config_file( config_data, config_args = config_file_parser.parse_config_file(
file_path=config_file file_path=config_file
) )
except OSError as ex: except OSError as ex:
print(ex, file=sys.stderr) print(ex, file=sys.stderr)
sys.exit(32) sys.exit(32)
# Run init hook, if present, before loading plugins # Run init hook, if present, before loading plugins
if "init-hook" in config_data: if "init-hook" in config_data:
exec(utils._unquote(config_data["init-hook"])) # pylint: disable=exec-u sed exec(config_data["init-hook"]) # pylint: disable=exec-used
# Load plugins if specified in the config file # Load plugins if specified in the config file
if "load-plugins" in config_data: if "load-plugins" in config_data:
linter.load_plugin_modules(utils._splitstrip(config_data["load-plugins"] )) linter.load_plugin_modules(utils._splitstrip(config_data["load-plugins"] ))
unrecognized_options_message = None unrecognized_options_message = None
# First we parse any options from a configuration file # First we parse any options from a configuration file
try: try:
linter._parse_configuration_file(config_args) linter._parse_configuration_file(config_args)
except _UnrecognizedOptionError as exc: except _UnrecognizedOptionError as exc:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)