diff options
Diffstat (limited to 'elisp/pylint-flymake.el')
-rw-r--r-- | elisp/pylint-flymake.el | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/elisp/pylint-flymake.el b/elisp/pylint-flymake.el deleted file mode 100644 index ed213bf46..000000000 --- a/elisp/pylint-flymake.el +++ /dev/null @@ -1,15 +0,0 @@ -;; Configure Flymake for python -(when (load "flymake" t) - (defun flymake-pylint-init () - (let* ((temp-file (flymake-init-create-temp-buffer-copy - 'flymake-create-temp-inplace)) - (local-file (file-relative-name - temp-file - (file-name-directory buffer-file-name)))) - (list "epylint" (list local-file)))) - - (add-to-list 'flymake-allowed-file-name-masks - '("\\.py\\'" flymake-pylint-init))) - -;; Set as a minor mode for python -(add-hook 'python-mode-hook '(lambda () (flymake-mode))) |