109 while argindex < arglen: |
109 while argindex < arglen: |
110 args.append(output[index + 6 + argindex]) |
110 args.append(output[index + 6 + argindex]) |
111 argindex += 1 |
111 argindex += 1 |
112 index += 6 + arglen |
112 index += 6 + arglen |
113 |
113 |
114 if code in Pep8NamingChecker.Codes: |
114 if code in NamingStyleChecker.Codes: |
115 text = Pep8NamingChecker.getMessage(code, *args) |
115 text = NamingStyleChecker.getMessage(code, *args) |
116 elif code in DocStyleChecker.Codes: |
116 elif code in DocStyleChecker.Codes: |
117 text = DocStyleChecker.getMessage(code, *args) |
117 text = DocStyleChecker.getMessage(code, *args) |
118 else: |
118 else: |
119 text = pep8.getMessage(code, *args) |
119 text = pep8.getMessage(code, *args) |
120 self.errors.append((fname, lineno, position, text)) |
120 self.errors.append((fname, lineno, position, text)) |