Instead of just reading ignore parameter from the pylintrc file, which is specific to git-pylint-commit-hook, we should be building the pylint command as done for each committed file. Then call pylint --generate-rcfile (pipe to a StringIO stream), and parse the resulting configuration. Then we get any extra parameters or default config info in there too.
Instead of just reading
ignoreparameter from the pylintrc file, which is specific to git-pylint-commit-hook, we should be building the pylint command as done for each committed file. Then callpylint --generate-rcfile(pipe to aStringIOstream), and parse the resulting configuration. Then we get any extra parameters or default config info in there too.