Skip to content

Commit 24a114f

Browse files
committed
generate_configurations: generate_all_envs: no need for enumerate
1 parent 8741b63 commit 24a114f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate_configurations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ def generate_all_envs():
139139
products = itertools.product(PYTHON_VERSIONS, PYTEST_VERSIONS,
140140
DJANGO_VERSIONS, SETTINGS)
141141

142-
for idx, (python_version, pytest_version, django_version, settings) \
143-
in enumerate(products):
142+
for (python_version, pytest_version, django_version, settings) \
143+
in products:
144144
env = TestEnv(python_version, pytest_version, django_version, settings)
145145

146146
if is_valid_env(env):

0 commit comments

Comments
 (0)