Total Complexity | 1 |
Total Lines | 13 |
Duplicated Lines | 0 % |
1 | import re |
||
7 | class AlexBear(LocalBear, Lint): |
||
8 | executable = 'alex' |
||
9 | output_regex = re.compile( |
||
10 | r'\s+(?P<line>\d+):(?P<column>\d+)\-' |
||
11 | r'(?P<end_line>\d+):(?P<end_column>\d+)' |
||
12 | r'\s+(?:(?P<warning>warning))\s+(?P<message>.+)') |
||
13 | |||
14 | def run(self, filename, file): |
||
15 | ''' |
||
16 | Checks the markdown file with Alex - Catch insensitive, |
||
17 | inconsiderate writing. |
||
18 | ''' |
||
19 | return self.lint(filename) |
||
20 |