Enable blacken-mode when a python project uses it

This commit is contained in:
Adam Goldsmith 2020-07-23 21:11:58 -04:00
parent 1b49c700c8
commit 07f68dc9f1

View File

@ -984,6 +984,12 @@
(org-lookup-dnd-parse-extras) (org-lookup-dnd-parse-extras)
(org-lookup-dnd-dump-vars-to-file '(org-lookup-dnd-db) org-lookup-dnd-db-file)) (org-lookup-dnd-dump-vars-to-file '(org-lookup-dnd-db) org-lookup-dnd-db-file))
(use-package blacken
:hook (python-mode . blacken-mode)
:delight
:config
(setq blacken-only-if-project-is-blackened t))
;;; Local Variables ;;; Local Variables
(add-to-list 'safe-local-eval-forms '(outline-hide-body)) (add-to-list 'safe-local-eval-forms '(outline-hide-body))
;; Local Variables: ;; Local Variables: