From f076d8e31276daebbee2d89edb0f39338aae0521 Mon Sep 17 00:00:00 2001 From: Jeppy Date: Sun, 8 May 2022 23:56:46 +0200 Subject: [PATCH] FIX mypy error --- src/misc.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/misc.py b/src/misc.py index e9f2261..904e8dc 100644 --- a/src/misc.py +++ b/src/misc.py @@ -342,9 +342,6 @@ def get_current_commit_hash(default: Optional[str] = None) -> str: return default -T = TypeVar("T") - - def not_none(v: Optional[T]) -> T: if v is None: raise ValueError()