mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
Fix flake8 error
Forgot to rename one var...
This commit is contained in:
parent
b0d44c7084
commit
980fc9bdc3
1 changed files with 2 additions and 2 deletions
|
|
@ -72,8 +72,8 @@ def fix_requirements(f):
|
|||
# find and remove pkg-resources==0.0.0
|
||||
# which is automatically added by broken pip package under Debian
|
||||
requirements = [
|
||||
requirement for requirement in requirements
|
||||
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'
|
||||
]
|
||||
|
||||
for requirement in sorted(requirements):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue