diff --git a/custom.el b/custom.el index 9873d21..12c0e32 100644 --- a/custom.el +++ b/custom.el @@ -108,6 +108,7 @@ apache-mode web-mode undo-tree))) + '(python-check-command "flake8") '(reb-re-syntax (quote string)) '(safe-local-variable-values (quote ((project-venv)))) diff --git a/settings.org b/settings.org index e21fee6..8290e73 100644 --- a/settings.org +++ b/settings.org @@ -299,10 +299,10 @@ put executables in elpy-rpc-venv in path (path-entry) (elpy-binpath)) (if (string-equal system-type "windows-nt") - (progn (setq path-entry (replace-regexp-in-string (regexp-quote "/") + (progn (setq elpy-binpath (expand-file-name "Scripts")) + (setq path-entry (replace-regexp-in-string (regexp-quote "/") (regexp-quote "\\") - elpy-binpath)) - (setq elpy-binpath (expand-file-name "Scripts"))) + elpy-binpath))) (setq elpy-binpath (expand-file-name "bin")) (setq path-entry elpy-binpath)) (nconc exec-path (list elpy-binpath))