-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dir-locals.el
22 lines (22 loc) · 1.38 KB
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
((python-mode
(eval . (setq flycheck-python-flake8-executable
(expand-file-name ".venv/bin/python" (locate-dominating-file
default-directory
".dir-locals.el"))))
(eval . (setq flycheck-python-pylint-executable
(expand-file-name ".venv/bin/python" (locate-dominating-file
default-directory
".dir-locals.el"))))
(eval . (setq flycheck-python-mypy-executable
(expand-file-name ".venv/bin/mypy" (locate-dominating-file
default-directory
".dir-locals.el"))))
(eval . (setq flycheck-python-pycompile-executable
(expand-file-name ".venv/bin/python" (locate-dominating-file
default-directory
".dir-locals.el")))))
(rst-mode
(eval . (setq flycheck-rst-sphinx-executable
(expand-file-name ".venv/bin/sphinx-build" (locate-dominating-file
default-directory
".dir-locals.el"))))))