Browse Source

Add isortify configs

master
10sr 5 years ago
parent
commit
9d5a1197c1
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el View File

@@ -1359,6 +1359,10 @@ found, otherwise returns nil."
(when (require 'with-venv nil t) (when (require 'with-venv nil t)
(with-venv-advice-add 'blacken-buffer))) (with-venv-advice-add 'blacken-buffer)))


(with-eval-after-load 'isortify
(when (require 'with-venv nil t)
(with-venv-advice-add 'isortify-buffer)))

;; https://github.com/lunaryorn/old-emacs-configuration/blob/master/lisp/flycheck-virtualenv.el ;; https://github.com/lunaryorn/old-emacs-configuration/blob/master/lisp/flycheck-virtualenv.el
(defun my-set-venv-flycheck-executable-find () (defun my-set-venv-flycheck-executable-find ()
"Set flycheck executabie find." "Set flycheck executabie find."


Loading…
Cancel
Save