Skip to content

Commit

Permalink
start using the selector
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed Mar 25, 2018
1 parent 1a35f23 commit 7773073
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 7773073

Please sign in to comment.