Table of Contents

Emacs

Useful Emacs stuff, with no particular order

.dir-locals.el

Python

This `.dir-locals.el` assumes you are running:

Since lsp-pylsp-plugins-mypy-enabled comes disabled by default, this setting should enable it.

((python-mode . ((eval . (setq-local lsp-pylsp-plugins-mypy-enabled t)))))

Tests in Docker

If unit tests run only in docker, you can use:

(python-pytest-executable . "docker-compose run --rm -e CI=True your-container-name python -m pytest")