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

Method __init__

tools/linter.py:24–27  ·  view source on GitHub ↗
(self, branch)

Source from the content-addressed store, hash-verified

22
23class DiffLinter:
24 def __init__(self, branch):
25 self.branch = branch
26 self.repo = Repo('.')
27 self.head = self.repo.head.commit
28
29 def get_branch_diff(self, uncommitted = False):
30 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected