py-pylint-run only works when exactly one command-line argument is specified
Unless you have exactly one argument set in py-pylint-command-args
, the command fails with if: Wrong type argument: stringp, nil
. The issue is this code:
(unless (file-readable-p (car (cddr (split-string command))))
(message "Warning: %s" "pylint needs a file"))
which should probably be something more like:
(unless (file-readable-p (car (reverse (split-string command))))
(message "Warning: %s" "pylint needs a file"))