mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
remove redundent type annotation
This commit is contained in:
parent
d4b544daf3
commit
e4cfaa6b68
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue