Skip to content

Commit

Permalink
Merge pull request #1 from ppdeassis/master
Browse files Browse the repository at this point in the history
Adding support for warnings
  • Loading branch information
epergo authored Oct 12, 2019
2 parents e070a96 + e7c7127 commit 943eed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


class Ameba(Linter):
regex = (r'^.+:(?P<line>\d+):(?P<col>\d+): E: (?P<message>.+)$')
regex = (r'^.+:(?P<line>\d+):(?P<col>\d+): ((?P<error>E)|(?P<warning>W)): (?P<message>.+)$')
multiline = False

tempfile_suffix = '-'
Expand Down

0 comments on commit 943eed0

Please sign in to comment.