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
1 changed files with 6 additions and 0 deletions

View File

@ -984,6 +984,12 @@
(org-lookup-dnd-parse-extras)
(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
(add-to-list 'safe-local-eval-forms '(outline-hide-body))
;; Local Variables: