aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-04-15 12:22:41 +0300
committerMunyoki Kilyungi2024-04-15 12:22:41 +0300
commit6811da1c6afe46d27f4b41ff75d8a91e65c0757e (patch)
tree7d1db405b81472bfaede31c58f1d27cb8b75d22d
parent0aad363d67c884559420cbf738c0b6f134eafff1 (diff)
downloadgenenetwork3-6811da1c6afe46d27f4b41ff75d8a91e65c0757e.tar.gz
Show trailing white spaces in python-mode.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-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))))))