mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 20:44:18 +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
|
def fix_requirements(f): # type: (IO[bytes]) -> int
|
||||||
requirements = [] # type: List[Requirement]
|
requirements = [] # type: List[Requirement]
|
||||||
before = list(f) # type: List[bytes]
|
before = list(f)
|
||||||
after = [] # type: List[bytes]
|
after = [] # type: List[bytes]
|
||||||
|
|
||||||
before_string = b''.join(before)
|
before_string = b''.join(before)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue