Skip to content

Commit

Permalink
FIX mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzio committed May 8, 2022
1 parent 64acd14 commit f076d8e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f076d8e

Please sign in to comment.