浏览代码

Update fkycheck config

master
10sr 4 年前
父节点
当前提交
5266f76192
签署人:: 10sr GPG 密钥 ID: 7BEC428194130EB2
共有 1 个文件被更改,包括 5 次插入8 次删除
  1. +5
    -8
      emacs.el

+ 5
- 8
emacs.el 查看文件

@@ -1435,14 +1435,11 @@ found, otherwise returns nil."
(defun my-set-venv-flycheck-executable-find ()
"Set flycheck executabie find."
(interactive)
(when (and (require 'with-venv nil t)
;; Hack not to set when venv dir not found
(with-venv-find-venv-dir))
(set-variable 'flycheck-executable-find
'(lambda (e)
(with-venv
(executable-find e)))
t)))
(set-variable 'flycheck-executable-find
'(lambda (e)
(with-venv
(executable-find e)))
t))

(defun my-update-flycheck-flake8-error-level-alist ()
"Update `flycheck-flake8-error-level-alist'."


正在加载...
取消
保存