- Python
- Full featured Python Plugin for Nova, supports Jedi Autocomplete, PyFlakes, PyLint, YAPF, Rope, McCabe and lots more.
- 15122 Installs
-
This extension is allowed to:
- Read Files
- Launch Subprocesses
Readme
Python for Nova
Full featured Python Language Server Plugin (implements PyLS) for Nova, supports Jedi Autocomplete, PyFlakes, PyLint, YAPF, Rope, McCabe, PyDoc and CodeStyles.
Also supports all the Python Language Server plugins → mypy
, isort
and black
Working Features
- [x] Auto-completion (including snippet fills-- Turn on
Include Function and Class Parameters
, Fixed in Nova 2.0) - [x] Follow imports (Fixed in Nova 2.0)
- [x] Full Function hover tooltips with syntax highlighting
- [x] Module and function docstrings
- [x] PyDocStyle and PyCodeStyle flags
- [x] McCabe Cyclomatic Complexity
Known Issues
- [ ] Slow auto completion
- [ ] Plugin reload required for changes to apply (probably related to
workspace/didChangeConfiguration
) - [ ] Last line auto complete broken (Line number reporting is off)
Installation
- Install dependencies using:
pip3 install 'python-language-server[all]'
-
Enable required modules from settings.
-
(Optional) Install Python Language Server plugins and enable them from settings:
-
mypy
plugin:pip3 install pyls-mypy
-
isort
plugin:pip3 install pyls-isort
-
black
plugin:pip3 install pyls-black
Features
- Real time Linting (Pyflakes):
- Hover actions on Functions and Modules:
- PyCodeStyle and PyDocStyle hints:
- Autocomplete using Jedi:
Contributing
Feel free to open PRs and Issues
Changelog
Version 1.0.3
- Add option to enable logging (Disabled by default)
- Add option to override Jedi environment at the workspace level.
Version 1.0.2
- Update Readme
- Preparation for Nova 2.0 update
Version 1.0.1
- Update Known bugs
Version 1.0.0
- Initial Public Release
- Preferences Updated
Version 0.0.2
- Preferences Update
- Comma separated string parser added
Version 0.0.1
- Pre Release