emacs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| emacs [2025/03/06 14:10] – roger | emacs [2025/03/06 14:15] (current) – roger | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Useful Emacs stuff, with no particular order | Useful Emacs stuff, with no particular order | ||
| - | ===== Latest | + | ===== .dir-locals.el ===== |
| + | |||
| + | ==== Python ==== | ||
| This `.dir-locals.el` assumes you are running: | This `.dir-locals.el` assumes you are running: | ||
| Line 14: | Line 17: | ||
| <code lisp> | <code lisp> | ||
| ((python-mode . ((eval . (setq-local lsp-pylsp-plugins-mypy-enabled t))))) | ((python-mode . ((eval . (setq-local lsp-pylsp-plugins-mypy-enabled t))))) | ||
| + | </ | ||
| + | |||
| + | === Tests in Docker === | ||
| + | |||
| + | If unit tests run only in docker, you can use: | ||
| + | |||
| + | <code lisp> | ||
| + | (python-pytest-executable . " | ||
| </ | </ | ||
emacs.1741270221.txt.gz · Last modified: 2025/03/06 14:10 by roger