Plugins/CheckerPlugins/Pep8/Pep8Dialog.py

changeset 2960
9453efa25fd5
parent 2958
ed0a8d4304a8
child 2971
efd4a4343019
equal deleted inserted replaced
2959:86ad8854361b 2960:9453efa25fd5
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)

eric ide

mercurial