patrys/PythonChecker


A maintainable Python code checker for Sublime Text 3

License: MIT

Language: Python


Python Checker

A maintainable Python code checker for Sublime Text 3

Screenshot

Once the plugin is installed, it will highlight common problems in your Python code.

Internally it relies on the wonderful pyflakes and pep8 packages.

Installation

Use Package Control.

Python version

By default Python Checker will use the version of Python that came with Sublime Text 3. This currently means Python 3 and can result in problems like undefined name 'unicode' being reported. If you want to use a different version, set the python_interpreter_path option in your project settings:

# <project name>.sublime-project
{
    "settings": {
        "python_interpreter_path": "/usr/bin/python"
    }
}

This is compatible with other plugins including SublimeJEDI.

PEP8 checks

Use the standard pep8 configuration files to control the behaviour including skipping some checks. An example project configration might look like this:

# setup.cfg or tox.ini
[pep8]
ignore = E501,W191
max-line-length = 120

Project Statistics

Sourcerank 4
Repository Size 95.7 KB
Stars 25
Forks 2
Watchers 3
Open issues 4
Dependencies 0
Contributors 1
Tags 10
Created
Last updated
Last pushed

Top Contributors See all

Patryk Zawadzki

Packages Referencing this Repo

Python Checker
A maintainable Python code checker for Sublime Text 3
Latest release 0.1.9 - Updated - 25 stars

Recent Tags See all

0.1.9 February 09, 2016
0.1.8 November 04, 2013
0.1.7 September 26, 2013
0.1.6 September 21, 2013
0.1.5 September 20, 2013
0.1.4 September 20, 2013
0.1.3 September 20, 2013
0.1.2 September 20, 2013
0.1.1 September 20, 2013
0.1.0 September 19, 2013

Something wrong with this page? Make a suggestion

Last synced: 2016-05-27 13:32:51 UTC

Login to resync this repository