Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aeron/flake8.novaextension
Nova extension to use Flake8, a tool to check the style and quality of Python code.
https://github.com/aeron/flake8.novaextension
linter nova-editor nova-extension python python-flake8 validator
Last synced: 7 days ago
JSON representation
Nova extension to use Flake8, a tool to check the style and quality of Python code.
- Host: GitHub
- URL: https://github.com/aeron/flake8.novaextension
- Owner: Aeron
- License: apache-2.0
- Created: 2020-10-05T01:04:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T20:52:33.000Z (10 months ago)
- Last Synced: 2024-04-24T03:40:20.320Z (8 months ago)
- Topics: linter, nova-editor, nova-extension, python, python-flake8, validator
- Language: JavaScript
- Homepage:
- Size: 145 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Flake8 Nova Extension
It’s a stand-alone [Nova][nova] extension to use [Flake8][flake8], a tool to check the
style and quality of Python code.[nova]: https://nova.app
[flake8]: https://gitlab.com/pycqa/flake8## Requirements
Before using the extension, it’s necessary to install Flake8 itself if you don’t
have one already.Flake8 can be installed simply by running `pip install flake8`.
## Configuration
The extension supports both global and workspace configurations.
A workspace configuration always overrides a global one.### Options
There are three options available to configure: executable path, command arguments,
and check mode. By default, the executable path is `/usr/local/bin/flake8`, with
no additional arguments, and checking on changing.You could alter the executable path if Flake8 installed in a different place
or if `/usr/bin/env` usage is desirable.In the case of `/usr/bin/env`, it becomes the executable path, and `flake8` becomes
the first argument.### .flake8
The extension respects `.flake8` in a project directory. So, there’s no need to
specify the `--config` argument explicitly.