コード例 #1
0
 def __init__(self, repository_path=None):
     PropertyCache.__init__(self)
     self.commits = []
     self.repository_path = repository_path
コード例 #2
0
 def __init__(self, context, sha):  # pylint: disable=super-init-not-called
     PropertyCache.__init__(self)
     self.context = context
     self.sha = sha
コード例 #3
0
 def __init__(self, context, commit_message):  # pylint: disable=super-init-not-called
     PropertyCache.__init__(self)
     self.context = context
     self.message = commit_message
     self.sha = None
     self.parents = []  # Not really possible to determine before a commit
コード例 #4
0
ファイル: test_cache.py プロジェクト: zombig/gitlint
 def __init__(self):
     PropertyCache.__init__(self)
     self.counter = 0