From 1d0e666ebfdbe7eeb80b3d859f7e3823d36256e3 Mon Sep 17 00:00:00 2001 From: Yobmod Date: Tue, 6 Jul 2021 17:19:02 +0100 Subject: Check change_levels (should fail) --- 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 7de4276a..14f823a1 100644 --- a/git/diff.py +++ b/git/diff.py @@ -28,8 +28,8 @@ Lit_change_type = Literal['A', 'D', 'C', 'M', 'R', 'T'] def is_change_type(inp: str) -> TypeGuard[Lit_change_type]: - return True - # return inp in ['A', 'D', 'C', 'M', 'R', 'T'] + # return True + return inp in ['A', 'D', 'C', 'M', 'R', 'T'] # ------------------------------------------------------------------------ -- cgit v1.2.1