Replies: 2 comments
-
|
This is a known behavior of the INI format parser — single-line lists are split on commas. The workaround you found (duplicating the line to force newline-delimited parsing) works, but a cleaner approach is to quote nothing and just ensure newline separation: [tox]
requires =
tox>=4.6.4,<5If this still splits on the comma even with newline format, this would be a bug in the list parser. However, with [tox]
requires = ["tox>=4.6.4,<5"] |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Converted to issue #3861 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In tox.ini, if I put the following:
I get a parsing error:
It seems that it is treating the
requirescontent as a comma delimited list. If instead I use:tox runs normally because now it is treating the entry as a newline delimited list and not interpreting the commas. Is there a way to make a one item list with a comma in it without having the comma interpreted?
Beta Was this translation helpful? Give feedback.
All reactions