linter-python

Linter for python files. Lint operation based on pylama application.

pchomik

165,086

57

3.1.2

MIT

GitHub

This package provides the following services:

linter-python package

Plugin to lint python files. Whole logic based on pylama and pylama-pylint applications.

Package usage

Requirements

Atom linters

Linters for python

Plugin installation

Atom plugin installation

Package usage

Pylama installation

pip install pylama pylama-pylint

If pip is something new for you please look here for more detail.

Plugin configuration

Basic plugin configuration

Package usage

Options added in 3.0.4 version

Package usage

Plugin configuration vs. performance

Please be informed that plugin has to create temporary files to lint file in the fly. In case of any performance issues please try to change trigger option to "File saved". For such option temporary files are not needed.

Pylama related topics

Pylama results depend on plugin order

It was discovered that pylama plugin order may change lint results. Issue is under investigated and will be reported to pylama project as soon as I get time to create test scenarios.

Tests show that the most trusted configuration is: mccabe,pyflakes,pylint,pep8,pep257

Pyflakes plugin may change pylama result

New issue was created in pylama project. Pylama results are not constant when pyflakes plugin is enabled. Issue is visible with Python 3.5.1

Issue details are available here.

Lint errors

Starting from plugin version 3.0.0 lint output provides link to error description available on GitHub project.

Thanks to @linickx who created all pages. Please provide more pull requests if you like to create single place for all python defined errors.

Contribution

Pull requests, issues, issue investigation, reviews are more than welcome.

Contributors

License

Package license is available here

Contact

Please create issue in case of any question or feature request.

Changelog

This section contains changes from last 3 releases.

Full list of changes is available here

3.1.2

3.1.1

3.1.0

3.0.5