Skip to content

Commit

Permalink
Merge pull request #89 from SublimeLinter/selectors
Browse files Browse the repository at this point in the history
start using the selector
  • Loading branch information
braver authored Mar 26, 2018
2 parents 1a35f23 + 7773073 commit 4326cae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@

class Flake8(PythonLinter):

syntax = ('python', 'python3')
cmd = ('flake8', '--format', 'default', '${args}', '-')
defaults = {
'selector': 'source.python'
}

# The following regex marks these pyflakes and pep8 codes as errors.
# All other codes are marked as warnings.
Expand Down

0 comments on commit 4326cae

Please sign in to comment.