MCPcopy Create free account
hub / github.com/numpy/numpy / run_lint

Method run_lint

tools/linter.py:68–74  ·  view source on GitHub ↗
(self, uncommitted)

Source from the content-addressed store, hash-verified

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
77if __name__ == '__main__':

Callers 2

check_lintFunction · 0.80
linter.pyFile · 0.80

Calls 3

get_branch_diffMethod · 0.95
run_pycodestyleMethod · 0.95
printFunction · 0.85

Tested by 1

check_lintFunction · 0.64