;;; init-python.el --- Configure python -*- lexical-binding: t -*- ;; Author: Franck Cuny ;;; Commentary: ;; All python related things ;;; Code: (use-package python-mode :hook ((python-mode . tree-sitter-hl-mode) (python-mode . eglot-ensure)) :interpreter "python" :bind (:map python-mode-map ("C-c c") ("C-c C-z" . python-shell))) (use-package blacken :ensure t :hook (python-mode . blacken-mode)) (use-package py-isort :ensure t :commands (py-isort-buffer py-isort-region)) (provide 'init-python) ;;; init-python.el ends here