Skip to content

Commit

Permalink
Merge pull request #79 from daily-co/readme-emacs-autopep8-update
Browse files Browse the repository at this point in the history
README: emacs autopep8 update
  • Loading branch information
aconchillo authored Mar 19, 2024
2 parents b6c9859 + 03ea559 commit 85e66dd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,22 @@ You can use [use-package](https://github.com/jwiegley/use-package) to install [p
(setq py-autopep8-options '("-a" "-a")))
```

If you don't have it already, you also need to install [autopep8](https://pypi.org/project/autopep8/):

```
pip install autopep8
```

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.

```elisp
(use-package pyvenv-auto
:ensure t
:defer t
:hook ((python-mode . pyvenv-auto-run)))
```

### Visual Studio Code

Install the
Expand Down

0 comments on commit 85e66dd

Please sign in to comment.