ghisvail / linter-pycodestyle

Pycodestyle (PEP8) Linter plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linter-pycodestyle

This linter plugin for Linter provides an interface to pycodestyle. It will be used with Python files.

Installation

Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.

pycodestyle installation

Before using this plugin, you must ensure that pycodestyle is installed on your system. To install pycodestyle, do the following:

Install pycodestyle by typing the following in a terminal:

pip install pycodestyle

Now you can proceed to install the linter-pycodestyle plugin.

Plugin installation

 apm install linter-pycodestyle

Settings

You can configure linter-pycodestyle from the settings menu:

  • executablePath Path to your pycodestyle executable. This is useful if you have different versions of pylint for Python 2 and 3 or if you are using a virtualenv

  • maxLineLength The max line length for your python code, defaults to 79

  • ignoreErrorCodes A list of pycodestyle error codes to ignore. For a list of code visit http://pycodestyle.readthedocs.org/en/latest/intro.html#error-codes

    Example: To ignore W191 and E501 you would enter something like this:

    W191, E501

About

Pycodestyle (PEP8) Linter plugin

License:MIT License


Languages

Language:CoffeeScript 100.0%