From 8773d0ca1d943f91c34dad6c3f90ec708fc79867 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 31 Jul 2023 13:31:59 +0100 Subject: [PATCH] fix flake8 complaining about loop variable reassigned --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 119e19b1..7bf5e80e 100644 --- a/setup.py +++ b/setup.py @@ -71,8 +71,8 @@ ] for name, extras in dep_extras.items(): if isinstance(extras, dict): - for marker, extras in extras.items(): - install_requires.append(f"{name}[{extras}]{dep_versions[name]}; {marker}") + for marker, ext in extras.items(): + install_requires.append(f"{name}[{ext}]{dep_versions[name]}; {marker}") elif isinstance(extras, str): install_requires.append(f"{name}[{extras}]{dep_versions[name]}") else: