Skip to content

Commit

Permalink
Merge pull request #31 from nfvs/c0301-col
Browse files Browse the repository at this point in the history
Support column in C0301: Line too long (%s/%s)
  • Loading branch information
NotSqrt authored Sep 27, 2016
2 parents 44beaf6 + 230a21a commit 9a0cf26
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 @@ -107,6 +107,7 @@ def tempfile_suffix(self):
'C0202': r"Class method (?P<near>.*) should have",
'C0203': r"Metaclass method (?P<near>.*) should have",
'C0204': r"Metaclass class method (?P<near>.*) should have",
'C0301': r"Line too long \(\d+/(?P<col>\d+)\)",
'C0325': r"Unnecessary parens after '(?P<near>.*)' keyword",
'E0001': r'unknown encoding: (?P<near>.*)', # can also be 'invalid syntax', 'EOF in multi-line statement'
'E0011': r"Unrecognized file option '(?P<near>.*)'",
Expand Down Expand Up @@ -197,7 +198,6 @@ def tempfile_suffix(self):
messages_no_column = [
'C0111', # mssing docstring for modules, classes and methods
'C0112', # empty docstring for modules, classes and methods
'C0301',
'C0302',
'C0303',
'C0304',
Expand Down

0 comments on commit 9a0cf26

Please sign in to comment.