Skip to content

Commit dc8d23d

Browse files
committed
Add '?' to controlcharacter literal
1 parent 5b0465c commit dc8d23d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/remote.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@
4747
from git.objects.tree import Tree
4848
from git.objects.tag import TagObject
4949

50-
flagKeyLiteral = Literal[' ', '!', '+', '-', '*', '=', 't']
50+
flagKeyLiteral = Literal[' ', '!', '+', '-', '*', '=', 't', '?']
5151

5252

5353
def is_flagKeyLiteral(inp: str) -> TypeGuard[flagKeyLiteral]:
54-
return inp in [' ', '!', '+', '-', '=', '*', 't']
54+
return inp in [' ', '!', '+', '-', '=', '*', 't', '?']
5555

5656

5757
# -------------------------------------------------------------

0 commit comments

Comments
 (0)