summary refs log tree commit diff
path: root/emacs/custom/my-lang-python.el
blob: 74da80bdbaac396a97e73aa416e2aa2811d14260 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;;; my-lang-python.el --- Configures emacs for python -*- lexical-binding: t -*-
;; Author: Franck Cuny <franck@fcuny.net>

;;; Commentary:

;;; Code:

(require 'python-mode)
(require 'blacken)

;; enable black when we are in python-mode
(add-hook 'python-mode-hook 'blacken-mode)

(provide 'my-lang-python)

;;; my-lang-python.el ends here