Skip to content

Commit 980fc9b

Browse files
committed
Fix flake8 error
Forgot to rename one var...
1 parent b0d44c7 commit 980fc9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pre_commit_hooks/requirements_txt_fixer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def fix_requirements(f):
7272
# find and remove pkg-resources==0.0.0
7373
# which is automatically added by broken pip package under Debian
7474
requirements = [
75-
requirement for requirement in requirements
76-
if requirement.value != b'pkg-resources==0.0.0\n'
75+
req for req in requirements
76+
if req.value != b'pkg-resources==0.0.0\n'
7777
]
7878

7979
for requirement in sorted(requirements):

0 commit comments

Comments
 (0)