about summary refs log blame commit diff
path: root/configs/shared/.emacs.d/wpc/packages/wpc-python.el
blob: 811327d63f1180d55d4da6f99d0d6b50ba47bab0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                     









                                                                                



                                                        

                                         

                           
;;; wpc-python.el --- Python configuration -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com>

;;; Commentary:
;; My Python configuration settings
;;
;; Depends
;; - `apti yapf`

;;; Code:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Dependencies
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'prism)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Configuration
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(use-package py-yapf
  :config
  (add-hook 'python-mode-hook #'py-yapf-enable-on-save))

(add-hook 'python-mode-hook #'prism-mode)

(provide 'wpc-python)
;;; wpc-python.el ends here