https://github.com/reagentx/nova-autopep8
Add native autopep8 support to Nova Editor
https://github.com/reagentx/nova-autopep8
Last synced: 5 months ago
JSON representation
Add native autopep8 support to Nova Editor
- Host: GitHub
- URL: https://github.com/reagentx/nova-autopep8
- Owner: ReagentX
- Created: 2020-09-24T21:12:25.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2020-09-25T00:33:38.000Z (almost 6 years ago)
- Last Synced: 2025-06-14T17:02:31.955Z (about 1 year ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Nova + autopep8
Provides a native method for invoking the `autopep8` Python file formatter CLI tool. It will format the currently active file.
## Installation
`⌘⇧2` to open the extension panel. Search for `autopep8`.
## Usage
`⌘⇧P` to open the command palette, then start typing `Format Python file`.
## Configuration
`⌘⇧2` to open the extension panel. In the sidebar, select `autopep8`.
### Executable path
This is the path to where the `autopep8` executable is installed. This path comes from the output of `which autopep8` and **must be fully qualified**.
* Note: ensure that this refers to the `autopep8` installed in your `venv` if you are using one.
### CLI Arguments
These are the arguments passed to `autopep8` before appending the current file to the end.
By default no arguments are set. If we add `--aggressive --aggressive` to this section, the command generated will look like:
```
/path/to/autopep8 --in-place --aggressive --aggressive /path/to/current/file
```
* Note: `--in-place` is always prepended to the generated `autopep8` command.