53 @param line_number line number of the issue (integer) |
53 @param line_number line number of the issue (integer) |
54 @param offset position within line of the issue (integer) |
54 @param offset position within line of the issue (integer) |
55 @param code message code (string) |
55 @param code message code (string) |
56 @param check reference to the checker function (function) |
56 @param check reference to the checker function (function) |
57 @param args arguments for the message (list) |
57 @param args arguments for the message (list) |
|
58 @return error code (string) |
58 """ |
59 """ |
59 code = super().error_args(line_number, offset, code, check, *args) |
60 code = super().error_args(line_number, offset, code, check, *args) |
60 if code and (self.counters[code] == 1 or self.__repeat): |
61 if code and (self.counters[code] == 1 or self.__repeat): |
61 if code in Pep8NamingChecker.Codes: |
62 if code in Pep8NamingChecker.Codes: |
62 text = Pep8NamingChecker.getMessage(code, *args) |
63 text = Pep8NamingChecker.getMessage(code, *args) |