From e4cfaa6b68dea4c4a66e30bda5f79b65755f7caf Mon Sep 17 00:00:00 2001 From: "Barak Y. Reif" Date: Sat, 28 Sep 2019 22:16:20 +0300 Subject: [PATCH] remove redundent type annotation --- pre_commit_hooks/requirements_txt_fixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit_hooks/requirements_txt_fixer.py b/pre_commit_hooks/requirements_txt_fixer.py index 1691d80..eff7935 100644 --- a/pre_commit_hooks/requirements_txt_fixer.py +++ b/pre_commit_hooks/requirements_txt_fixer.py @@ -40,7 +40,7 @@ class Requirement(object): def fix_requirements(f): # type: (IO[bytes]) -> int requirements = [] # type: List[Requirement] - before = list(f) # type: List[bytes] + before = list(f) after = [] # type: List[bytes] before_string = b''.join(before)