dciborow/action-pylint

pylint_rc option does not work correctly

jingli-lacework opened this issue · 0 comments

The action-pylint runs fine without the pylint_rc option specified. With the pylint_rc option specified, the action failed to run. The reason is that the rcfile is not passed in correctly, which leads to pylint could not find the specified file and fails to run.

The following line in entrypoint.sh
rcfile_option="--rcfile=\"${INPUT_PYLINT_RC}\""
should be replaced with
rcfile_option="--rcfile ${INPUT_PYLINT_RC}"