Skip to content

Commit e4cfaa6

Browse files
committed
remove redundent type annotation
1 parent d4b544d commit e4cfaa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit_hooks/requirements_txt_fixer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __lt__(self, requirement): # type: (Requirement) -> int
4040

4141
def fix_requirements(f): # type: (IO[bytes]) -> int
4242
requirements = [] # type: List[Requirement]
43-
before = list(f) # type: List[bytes]
43+
before = list(f)
4444
after = [] # type: List[bytes]
4545

4646
before_string = b''.join(before)

0 commit comments

Comments
 (0)