1
0
Fork 0
mirror of https://github.com/correl/dotfiles.git synced 2025-04-14 09:09:35 -09:00

[emacs] Add python tools

This commit is contained in:
Correl Roush 2020-11-26 21:16:05 -05:00
parent a96a5b5e5c
commit 5024a42c17
2 changed files with 24 additions and 0 deletions
.doom.d
.emacs.d

View file

@ -28,6 +28,9 @@
(package! org-roam-server)
(package! nov)
(package! org-ref)
(package! python-black)
(package! poetry)
(package! yapfify)
(package! org-roam-bibtex
:recipe (:host github :repo "org-roam/org-roam-bibtex"))

View file

@ -413,6 +413,27 @@ installed:
:ensure t
:mode "\.pyx$")
#+END_SRC
**** Formatting (Black)
#+begin_src python
(use-package! python-black
:commands (python-black-buffer
python-black-region
python-black-statement
python-black-on-save-mode))
#+end_src
**** Formatting (YAPF)
#+begin_src python
(use-package! yapfify
:commands (yapfify-region
yapfify-buffer
yapfify-region-or-buffer
yapf-mode))
#+end_src
**** Poetry
#+begin_src python
(use-package! poetry
:commands (poetry-tracking-mode))
#+end_src
*** Ruby
#+HEADER: :noweb-ref programming
#+BEGIN_SRC emacs-lisp