We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa9840 commit 6585823Copy full SHA for 6585823
scripts/split_tox_gh_actions/split_tox_gh_actions.py
@@ -204,6 +204,8 @@ def parse_tox():
204
py_versions_pinned = defaultdict(set)
205
py_versions_latest = defaultdict(set)
206
207
+ parsed_correctly = True
208
+
209
for line in lines:
210
# normalize lines
211
line = line.strip().lower()
@@ -237,6 +239,10 @@ def parse_tox():
237
239
238
240
except ValueError:
241
print(f"ERROR reading line {line}")
242
+ parsed_correctly = False
243
244
+ if not parsed_correctly:
245
+ raise RuntimeError("Failed to parse tox.ini")
246
247
py_versions_pinned = _normalize_py_versions(py_versions_pinned)
248
py_versions_latest = _normalize_py_versions(py_versions_latest)
0 commit comments