Plugin to lint python files. Whole logic based on pylama and pylama-pylint applications.
- python >= 2.7
- pylama >= 7.3.3
- pylama-pylint (optional)
- Go to Settings -> Install
- Type "linter-python"
- Press "Install"
pip install pylama pylama-pylint
If pip is something new for you please look here for more detail.
- Go to Settings -> Packages
- Type "linter-python" and go to plugin settings
- Set path to pylama binary e.g. /usr/bin/pylama
- Select needed pylama options
- Atom API was used to select error
- URL to error description
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.
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
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.
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.
Pull requests, issues, issue investigation, reviews are more than welcome.
- @linickx
- @Arcanemagus
- @Zebradil
Package license is available here
Please create issue in case of any question or feature request.
This section contains changes from last 3 releases.
Full list of changes is available here
- (#37) Fix issue: Cannot read property 'getPath' of undefined
- Update release notes and readme file
- (#31) Execution finished with error because of pylama exit code change
- (#28) Add cache functionality
- (#25) Remove underline options from plugin configuration
- (#27) Documentation update
- (#26) Regenerate new plugin exaples