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 b0d44c7 commit 980fc9bCopy full SHA for 980fc9b
pre_commit_hooks/requirements_txt_fixer.py
@@ -72,8 +72,8 @@ def fix_requirements(f):
72
# find and remove pkg-resources==0.0.0
73
# which is automatically added by broken pip package under Debian
74
requirements = [
75
- requirement for requirement in requirements
76
- if requirement.value != b'pkg-resources==0.0.0\n'
+ req for req in requirements
+ if req.value != b'pkg-resources==0.0.0\n'
77
]
78
79
for requirement in sorted(requirements):
0 commit comments