]> jturnerusa.dev Git - emacs.d/commitdiff
packages/flycheck: set mypy cache dir to ~/.cache
authorJohn Turner <jturner.usa@gmail.com>
Mon, 5 Feb 2024 19:58:40 +0000 (14:58 -0500)
committerJohn Turner <jturner.usa@gmail.com>
Mon, 5 Feb 2024 19:58:40 +0000 (14:58 -0500)
packages/flycheck.el

index f2410ac01ea04f28919b3bf5dd476205808ec517..2ea1e664b87f7988dcacfbb765bd823e7d9fd2cb 100644 (file)
@@ -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)