aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el13
1 files changed, 11 insertions, 2 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 0530f87..05db9ec 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,3 +1,12 @@
((python-mode
- . ((flycheck-python-pylint-executable . "env PYTHONPATH=$HOME/.guix-profile/lib/python3.10/site-packages/ $HOME/.guix-extra-profiles/genenetwork3/bin/pylint")
- (python-shell-interpreter . "$HOME/.guix-extra-profiles/genenetwork3/bin/python3"))))
+ . ((flycheck-python-pylint-executable . "env PYTHONPATH=$HOME/.guix-extra-profiles/genenetwork3/lib/python3.10/site-packages/ $HOME/.guix-extra-profiles/genenetwork3/bin/pylint")
+ (python-indent . 4)
+ (show-trailing-whitespace . 1)
+ (python-shell-interpreter . "$HOME/.guix-extra-profiles/genenetwork3/bin/python3")
+ ()
+ (eval .
+ (when
+ (require 'flycheck nil t')
+ (setq elpy-modules
+ (delq 'elpy-module-flymake elpy-modules))
+ (add-hook 'elpy-mode-hook 'flycheck-mode))))))