Skip to content

Commit

Permalink
handle error vs. warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwb committed Dec 6, 2016
1 parent 145c681 commit 0add7bd
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 @@ -24,7 +24,7 @@ class Bandit(PythonLinter):
version_requirement = '>= 1.3.0'
regex = (
r'^>>\sIssue:\s\[.+\]\s(?P<message>.+)$\r?\n'
r'^.*$\r?\n'
r'^.*Severity:\s(?:(?P<error>High)|(?P<warning>(Medium|Low))).*$\r?\n'
r'^.*Location:.*:(?P<line>\d+)$\r?\n'
)
multiline = True
Expand Down

0 comments on commit 0add7bd

Please sign in to comment.