Use pyflakes (PyChecker is dead) and run the process respecting
virtualenv rules.
;;; Code check
(defcustom python-check-command
- "pychecker --stdlib"
+ "pyflakes"
"Command used to check a Python file."
:type 'string
:group 'python)
"")))))))
(setq python-check-custom-command command)
(save-some-buffers (not compilation-ask-about-save) nil)
- (compilation-start command))
+ (let ((process-environment (python-shell-calculate-process-environment))
+ (exec-path (python-shell-calculate-exec-path)))
+ (compilation-start command)))
\f
;;; Eldoc