Skip to content

Commit 9a0cf26

Browse files
authored
Merge pull request #31 from nfvs/c0301-col
Support column in C0301: Line too long (%s/%s)
2 parents 44beaf6 + 230a21a commit 9a0cf26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def tempfile_suffix(self):
107107
'C0202': r"Class method (?P<near>.*) should have",
108108
'C0203': r"Metaclass method (?P<near>.*) should have",
109109
'C0204': r"Metaclass class method (?P<near>.*) should have",
110+
'C0301': r"Line too long \(\d+/(?P<col>\d+)\)",
110111
'C0325': r"Unnecessary parens after '(?P<near>.*)' keyword",
111112
'E0001': r'unknown encoding: (?P<near>.*)', # can also be 'invalid syntax', 'EOF in multi-line statement'
112113
'E0011': r"Unrecognized file option '(?P<near>.*)'",
@@ -197,7 +198,6 @@ def tempfile_suffix(self):
197198
messages_no_column = [
198199
'C0111', # mssing docstring for modules, classes and methods
199200
'C0112', # empty docstring for modules, classes and methods
200-
'C0301',
201201
'C0302',
202202
'C0303',
203203
'C0304',

0 commit comments

Comments
 (0)