mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
fixing the requirements-txt-fixer #960
This commit is contained in:
parent
516a8a263c
commit
1196542a9d
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class Requirement:
|
|||
|
||||
def fix_requirements(f: IO[bytes]) -> int:
|
||||
requirements: list[Requirement] = []
|
||||
before = list(f)
|
||||
before = list(set(f))
|
||||
after: list[bytes] = []
|
||||
|
||||
before_string = b''.join(before)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue