| commit | e4cfaa6b68dea4c4a66e30bda5f79b65755f7caf | [log] [tgz] |
|---|---|---|
| author | Barak Y. Reif <breif@newrelic.com> | Sat Sep 28 22:16:20 2019 +0300 |
| committer | Barak Y. Reif <breif@newrelic.com> | Sat Sep 28 22:16:20 2019 +0300 |
| tree | 37b245e3ce6e90296f525c41be426901bf64f858 | |
| parent | d4b544daf399f2d356fbc8b0dccfe170ac18575b [diff] [blame] |
remove redundent type annotation
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 @@ 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)