dotfiles/.config/emacs/modules/lang/earnemod-python.el

19 lines
415 B
EmacsLisp

;;; earnemod-python.el --- -*- lexical-binding: t; -*-
;; Copyright (C) 2020-2021 earnest ma
;; SPDX-License-Identifier: MIT
;; Author: earnest ma <me@earne.link>
;;; Code:
(use-package elpy
:hook (python-mode . elpy-enable))
(use-package blacken
:hook (python-mode . blacken-mode)
:config
;; Set line length
(setq blacken-line-length '79))
(provide 'earnemod-python)
;;; earnemod-python.el ends here