mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
Fix all typing issues
This commit is contained in:
@@ -7,7 +7,7 @@ from plumbum.cmd import git
|
||||
class GitHelper:
|
||||
@staticmethod
|
||||
def commit_hash() -> str:
|
||||
return git["rev-parse", "HEAD"]().strip()
|
||||
return git["rev-parse", "HEAD"]().strip() # type: ignore
|
||||
|
||||
@staticmethod
|
||||
def commit_hash_tag() -> str:
|
||||
@@ -15,7 +15,7 @@ class GitHelper:
|
||||
|
||||
@staticmethod
|
||||
def commit_message() -> str:
|
||||
return git["log", -1, "--pretty=%B"]().strip()
|
||||
return git["log", -1, "--pretty=%B"]().strip() # type: ignore
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user