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