Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c0ac5c3

Browse files
Xiao75896453Lee-W
authored andcommitted
refactor(commitizen): add return type hint of git add function
1 parent be9163f commit c0ac5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/git.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def tag(tag: str, annotated: bool = False, signed: bool = False) -> cmd.Command:
9292
return c
9393

9494

95-
def add():
95+
def add() -> cmd.Command:
9696
c = cmd.run("git add .")
9797
return c
9898

0 commit comments

Comments
 (0)