Skip to content

Commit e985851

Browse files
committed
Add 'U' to change_levels (should pass)
1 parent 1d0e666 commit e985851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/diff.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424

2525
from subprocess import Popen
2626

27-
Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T']
27+
Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T', 'U']
2828

2929

3030
def is_change_type(inp: str) -> TypeGuard[Lit_change_type]:
3131
# return True
32-
return inp in ['A', 'D', 'C', 'M', 'R', 'T']
32+
return inp in ['A', 'D', 'C', 'M', 'R', 'T', 'U']
3333

3434
# ------------------------------------------------------------------------
3535

0 commit comments

Comments
 (0)