This linter plugin for Linter provides an interface to pep8. It will be used with python files.
Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.
Before using this plugin, you must ensure that pep8
is installed on your system. To install pep8
, do the following:
- Install pep8 by typing the following in a terminal:
pip install pep8
Now you can proceed to install the linter-pep8 plugin.
$ apm install linter-pep8
You can configure linter-pep8 by editing ~/.atom/config.cson (choose Open Your Config in Atom menu):
'linter-pep8':
'pep8ExecutablePath': null #pep8 path. run 'which pep8' to find the path to folder, no trailing slash
'maxLineLength': 79 # the max line length for your python code, defaults to 79
'ignoreErrorCodes': [] # a list of pep8 error codes to ignore. http://pep8.readthedocs.org/en/latest/intro.html#error-codes
If you would like to contribute enhancements or fixes, please do the following:
- Fork the plugin repository.
- Hack on a separate topic branch created from the latest
master
. - Commit and push the topic branch.
- Make a pull request.
- welcome to the club
Please note that modications should follow these coding guidelines:
- Indent is 2 spaces.
- Code should pass coffeelint linter.
- Vertical whitespace helps readability, don’t be afraid to use it.
Thank you for helping out!