410 max_line_length=maxLineLength, |
410 max_line_length=maxLineLength, |
411 hang_closing=hangClosing, |
411 hang_closing=hangClosing, |
412 ) |
412 ) |
413 errors = report.errors[:] |
413 errors = report.errors[:] |
414 stats.update(report.counters) |
414 stats.update(report.counters) |
415 # TODO: add PEP-257 check for Py2 |
|
416 else: |
415 else: |
417 if includeMessages: |
416 if includeMessages: |
418 select = [s.strip() for s in includeMessages.split(',') |
417 select = [s.strip() for s in includeMessages.split(',') |
419 if s.strip()] |
418 if s.strip()] |
420 else: |
419 else: |