(self, uncommitted)
| 66 | return res.returncode, res.stdout |
| 67 | |
| 68 | def run_lint(self, uncommitted): |
| 69 | diff = self.get_branch_diff(uncommitted) |
| 70 | retcode, errors = self.run_pycodestyle(diff) |
| 71 | |
| 72 | errors and print(errors) |
| 73 | |
| 74 | sys.exit(retcode) |
| 75 | |
| 76 | |
| 77 | if __name__ == '__main__': |