コード例 #1
0
 def __init__(self,
              dirty=True,
              describe="v0.1.2-3-g123",
              branch="master",
              commitid="abc123"):
     self.dirty = dirty
     self.describe = describe
     self.branch = branch
     self.commitid = commitid
     Git.__init__(self, TESTS)
コード例 #2
0
 def __init__(self,
              dirty=True,
              describe='v0.1.2-3-g123',
              branch='master',
              commitid='abc123'):
     self.dirty = dirty
     self.describe = describe
     self.branch = branch
     self.commitid = commitid
     Git.__init__(self, TESTS)
コード例 #3
0
 def __init__(
         self,
         dirty=True,
         describe="v0.1.2-3-g123",
         branch="master",
         commitid="abc123",
         local_tags="",
         remote_tags="",
 ):
     self.dirty = dirty
     self.describe = describe
     self.branch = branch
     self.commitid = commitid
     self._local_tags = local_tags
     self._remote_tags = remote_tags
     Git.__init__(self, TESTS)