We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e909983 commit 64d3fbdCopy full SHA for 64d3fbd
1 file changed
pre_commit_hooks/requirements_txt_fixer.py
@@ -36,7 +36,7 @@ def name(self) -> bytes:
36
37
return name[:m.start()]
38
39
- def __lt__(self, requirement: 'Requirement') -> int:
+ def __lt__(self, requirement: 'Requirement') -> bool:
40
# \n means top of file comment, so always return True,
41
# otherwise just do a string comparison with value.
42
assert self.value is not None, self.value
0 commit comments