Python Pep8 Lint
Sublime Text 2 plugin / check Python files against some of the style conventions in PEP8
Details
Installs
- Total 16K
- Win 5K
- Mac 6K
- Linux 5K
Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Here is new, more powerful plugin for lint your Python files: github.com/dreadatour/Flake8Lint
Flake8Lint includes pep8 lind and pyflakes lint - please, use it.
Pep8Lint
Pep8Lint is a Sublime Text 2 plugin for check Python files against some of the style conventions in PEP8.
Based on github.com/jcrocholl/pep8.
Install
Download the latest source from GitHub and copy Pep8Lint folder to your ST2 “Packages” directory.
Or clone the repository to your ST2 “Packages” directory:
git clone git://github.com/dreadatour/Pep8Lint.git
The “Packages” directory is located at:
OS X:
~/Library/Application Support/Sublime Text 2/Packages/
Linux:
~/.config/sublime-text-2/Packages/
Windows:
%APPDATA%/Sublime Text 2/Packages/
Config
Default Pep8Lint config: “Preferences” -> “Package Settings” -> “Pep8Lint” -> “Settings - Default”
{
// run pep8 lint on file saving
"lint_on_save": true,
// set maximum line length
"max-line-length": 79,
// select errors and warnings (e.g. ["E", "W6"])
"select": [],
//skip errors and warnings (e.g. ["E303", E4", "W"])
"ignore": [],
// Visual settings
// display popup with errors
"popup": true,
// highlight errors
"highlight": false
}
To change default settings, go to “Preferences” -> “Package Settings” -> “Pep8Lint” -> “Settings - User” and paste default config to opened file.
Features / Usage
Automatically check Python files with pep8 lint tool and show window with error list:
And move to error line/char on select.