mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 20:16:53 +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
|
# find and remove pkg-resources==0.0.0
|
||||||
# which is automatically added by broken pip package under Debian
|
# which is automatically added by broken pip package under Debian
|
||||||
requirements = [
|
requirements = [
|
||||||
requirement for requirement in requirements
|
req for req in requirements
|
||||||
if requirement.value != b'pkg-resources==0.0.0\n'
|
if req.value != b'pkg-resources==0.0.0\n'
|
||||||
]
|
]
|
||||||
|
|
||||||
for requirement in sorted(requirements):
|
for requirement in sorted(requirements):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue