Skip to content

Commit

Permalink
Allow colon after error code
Browse files Browse the repository at this point in the history
Compatibility with flake8-pie
  • Loading branch information
ROpdebee authored and kaste committed Jun 19, 2019
1 parent b2dabbd commit 5bc4a76
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 @@ -43,7 +43,7 @@ class Flake8(PythonLinter):
regex = (
r'^.+?:(?P<line>\d+):(?P<col>\d+): '
r'(?:(?P<error>(?:F(?:40[24]|8(?:12|2[123]|31))|E(?:11[23]|90[12]|999)))|'
r'(?P<warning>\w+\d+)) '
r'(?P<warning>\w+\d+):?) '
r'(?P<message>.*)'
)
multiline = True
Expand Down

0 comments on commit 5bc4a76

Please sign in to comment.