Created
November 16, 2018 10:26
-
-
Save gxfxyz/1ec670ff681c78829b6173d865fb4080 to your computer and use it in GitHub Desktop.
Sublime Text 3 command to clear Flake8Lint marks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Sublime Text 3 command to clear Flake8Lint marks. | |
How to use: | |
Save to your "/Sublime Text 3/Packages/User" directory. | |
""" | |
import sys | |
import sublime_plugin | |
class ClearFlake8LintCommand(sublime_plugin.TextCommand): | |
def run(self, edit): | |
Flake8Lint = sys.modules['Python Flake8 Lint.Flake8Lint'].Flake8Lint | |
Flake8Lint.cleanup(self.view) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[{ | |
"caption": "Clear Flake8 Lint", | |
"command": "clear_flake8_lint" | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment