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