Skip to content

Commit 85e66dd

Browse files
authored
Merge pull request #79 from daily-co/readme-emacs-autopep8-update
README: emacs autopep8 update
2 parents b6c9859 + 03ea559 commit 85e66dd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,22 @@ You can use [use-package](https://github.com/jwiegley/use-package) to install [p
116116
(setq py-autopep8-options '("-a" "-a")))
117117
```
118118

119+
If you don't have it already, you also need to install [autopep8](https://pypi.org/project/autopep8/):
120+
121+
```
122+
pip install autopep8
123+
```
124+
125+
If use install `autopep8` in the `venv` environment described before, you can use [pyvenv-auto](https://github.com/ryotaro612/pyvenv-auto) to automatically load the virtual environment inside Emacs.
126+
127+
```elisp
128+
(use-package pyvenv-auto
129+
:ensure t
130+
:defer t
131+
:hook ((python-mode . pyvenv-auto-run)))
132+
133+
```
134+
119135
### Visual Studio Code
120136

121137
Install the

0 commit comments

Comments
 (0)