summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2024-02-05 14:58:40 -0500
committerJohn Turner <jturner.usa@gmail.com>2024-02-05 14:58:40 -0500
commitaab807be6302a083b3868697c157f9cd401dd6c8 (patch)
treeb652d232bae78798294fb829d601b65ed3204cec
parent0f331b9321dd886a839d5259cf387fd643cc907c (diff)
downloademacs.d-aab807be6302a083b3868697c157f9cd401dd6c8.tar.gz
packages/flycheck: set mypy cache dir to ~/.cache
-rw-r--r--packages/flycheck.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/flycheck.el b/packages/flycheck.el
index f2410ac..2ea1e66 100644
--- a/packages/flycheck.el
+++ b/packages/flycheck.el
@@ -1,6 +1,8 @@
(use-package flycheck
:hook
(flycheck-error-list-mode . visual-line-mode)
+ :custom
+ (flycheck-python-mypy-cache-dir (file-name-concat (getenv "HOME") ".cache" "mypy"))
:config
(when (require 'best-side-window nil t)
(add-to-list 'display-buffer-alist '((major-mode . flycheck-error-list-mode)