104 argindex += 1 |
105 argindex += 1 |
105 index += 6 + arglen |
106 index += 6 + arglen |
106 |
107 |
107 if code in Pep8NamingChecker.Codes: |
108 if code in Pep8NamingChecker.Codes: |
108 text = Pep8NamingChecker.getMessage(code, *args) |
109 text = Pep8NamingChecker.getMessage(code, *args) |
|
110 elif code in Pep257Checker.Codes: |
|
111 text = Pep257Checker.getMessage(code, *args) |
109 else: |
112 else: |
110 text = pep8.getMessage(code, *args) |
113 text = pep8.getMessage(code, *args) |
111 self.errors.append((fname, lineno, position, text)) |
114 self.errors.append((fname, lineno, position, text)) |
112 while index < len(output): |
115 while index < len(output): |
113 code, countStr = output[index].split(None, 1) |
116 code, countStr = output[index].split(None, 1) |