Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

changeset 3171
2c37b9a37b2d
parent 3165
400234200cd6
child 3178
f25fc1364c88
equal deleted inserted replaced
3170:b177fe3b0063 3171:2c37b9a37b2d
41 @keyparam max_line_length maximum allowed line length (integer) 41 @keyparam max_line_length maximum allowed line length (integer)
42 @keyparam hang_closing flag indicating to allow hanging closing 42 @keyparam hang_closing flag indicating to allow hanging closing
43 brackets (boolean) 43 brackets (boolean)
44 @keyparam docType type of the documentation strings 44 @keyparam docType type of the documentation strings
45 (string, one of 'eric' or 'pep257') 45 (string, one of 'eric' or 'pep257')
46 @exception AssertionError raised if the docType argument is not
47 "eric" or "pep257"
46 """ 48 """
47 assert docType in ("eric", "pep257") 49 assert docType in ("eric", "pep257")
48 50
49 self.errors = [] 51 self.errors = []
50 self.counters = {} 52 self.counters = {}

eric ide

mercurial