JulianEberius/SublimePythonIDE — pull request #53 by xiaochuanyu (2014-03-09 00:30:48+00:00)
Title: Add Disable/Enable PEP8 commands.

This resolves #52.

The diff in sublime_python_linting.py may look scary but there's was no functional change other than adding commands as stated in title. Here is summary of my changes:

1. Re-factored out nearly all methods from `PythonLintingListener` to module level, this was necessary to expose the `check` method. The alternative was to make everything class methods but I think making them module level is cleaner.
2. Added some helper function to override view settings in `sublime_python.py`.
3. Added enable and disable PEP8 command classes which will enable / disable pep8 setting on a per view basis.
4. I did some basic testing, nothing appeared to be broken.