Skip to content

Commit 7e8fb2a

Browse files
committed
Added 'python django' syntax.
1 parent 2b58e31 commit 7e8fb2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class PEP8(PythonLinter):
1919

2020
"""Provides an interface to the pep8 python module/script."""
2121

22-
syntax = 'python'
22+
syntax = ('python', 'python django')
2323
cmd = ('pep8@python', '*', '-')
2424
regex = r'^.+?:(?P<line>\d+):(?P<col>\d+): (?:(?P<error>E)|(?P<warning>W))\d+ (?P<message>.+)'
2525
multiline = True

0 commit comments

Comments
 (0)