From e9858513addf8a4ee69890d46f58c5ef2528a6ab Mon Sep 17 00:00:00 2001 From: Yobmod Date: Tue, 6 Jul 2021 17:22:37 +0100 Subject: Add 'U' to change_levels (should pass) --- git/diff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/diff.py') diff --git a/git/diff.py b/git/diff.py index 14f823a1..6c34a871 100644 --- a/git/diff.py +++ b/git/diff.py @@ -24,12 +24,12 @@ if TYPE_CHECKING: from subprocess import Popen -Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T'] +Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T', 'U'] def is_change_type(inp: str) -> TypeGuard[Lit_change_type]: # return True - return inp in ['A', 'D', 'C', 'M', 'R', 'T'] + return inp in ['A', 'D', 'C', 'M', 'R', 'T', 'U'] # ------------------------------------------------------------------------ -- cgit v1.2.1