Python Checker
A maintainable Python code checker for Sublime Text 3
Details
Installs
- Total 85K
- Win 48K
- Mac 16K
- Linux 21K
Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 6 | 3 | 1 | 2 | 1 | 2 | 4 | 6 | 2 | 0 | 3 | 6 | 8 | 2 | 2 | 1 | 3 | 5 | 4 | 4 | 6 | 3 | 1 | 0 | 2 | 4 | 7 | 5 | 4 | 2 | 2 | 4 | 5 | 3 | 4 | 4 | 2 | 3 | 4 | 3 | 4 | 6 | 3 | 3 | 2 |
Mac | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 2 | 1 | 0 | 2 | 2 | 2 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 2 | 0 | 0 |
Linux | 0 | 1 | 1 | 2 | 2 | 2 | 3 | 0 | 4 | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 2 | 1 | 1 | 3 | 0 | 1 | 0 | 1 | 1 | 2 | 1 | 3 | 3 | 0 | 1 | 2 | 1 | 1 | 5 | 1 | 2 | 0 | 2 | 3 | 0 | 1 | 1 | 6 |
Readme
- Source
- raw.githubusercontent.com
Python Checker
A maintainable Python code checker for Sublime Text 3
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