UtilitiesPython2/Pep8Checker.py

changeset 2958
ed0a8d4304a8
parent 2929
28ab0bc63d69
child 2965
d133c7edd88a
equal deleted inserted replaced
2957:c7f8c7561542 2958:ed0a8d4304a8
150 print code 150 print code
151 print len(args) 151 print len(args)
152 for a in args: 152 for a in args:
153 print a 153 print a
154 print "PEP8_STATISTICS" 154 print "PEP8_STATISTICS"
155 # TODO: add statistics for D
156 for key in report.counters: 155 for key in report.counters:
157 if key.startswith(("E", "N", "W")): 156 if key.startswith(("E", "N", "W")):
158 print key, report.counters[key] 157 print key, report.counters[key]
158 for key in pep257Checker.counters:
159 if key.startswith("D"):
160 print key, pep257Checker.counters[key]
159 else: 161 else:
160 print "NO_PEP8" 162 print "NO_PEP8"
161 print filename 163 print filename
162 164
163 # 165 #

eric ide

mercurial