pylint #5677 unsupported action: callback [rejected]
Steps to reproduce : install the following ~/.pylintrc file: [MASTER] init-hook="execfile('/home/alf/.pylint_init_hook.py')" create an empty (or with a print statement) file ~/.pylint_init_hook.py run pylint: alf@lacapelle:~$ pylint Traceback (most recent call last): File "/usr/bin/pylint", line 4, in <module> lint.Run(sys.argv[1:]) File "/home/alf/dev/public/pylint/lint.py", line 877, in __init__ linter.load_config_file() File "/home/alf/dev/public/logilab/common/configuration.py", line 518, in load_config_file provider.set_option(option, value, opt_dict=optdict) File "/home/alf/dev/public/pylint/lint.py", line 331, in set_option BaseRawChecker.set_option(self, opt_name, value, action, opt_dict) File "/home/alf/dev/public/logilab/common/configuration.py", line 681, in set_option raise UnsupportedAction(action) logilab.common.configuration.UnsupportedAction: callback | |
priority | normal |
---|---|
type | bug |
done in | 0.16.0 |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |