blob: 042b2eaef468575981554e273d2533eea49da578 (
plain)
1
2
3
4
5
6
7
8
9
10
|
((python-ts-mode . ((eval . (flycheck-mode 1))
(eval . (flycheck-select-checker 'python-mypy))
(eval . (flycheck-add-next-checker 'python-mypy (cons t 'python-flake8)))
(eval . (add-hook 'before-save-hook 'fmt-current-buffer nil t))
(eval . (setq-local fmt-executable "black"
fmt-args '("-")))))
(meson-mode
. ((fmt-executable . "meson")
(fmt-args . ("format" "-"))
(eval . (add-hook 'before-save-hook 'fmt-current-buffer nil t)))))
|