Tox 1.4.2 does not parse comments in the environment list

Issue #50 on hold
Former user created an issue

Using tox 1.4.2 and python 2.7 on OSX I get

ERROR: unknown environment 'py32 # Python 3.1 and 3.0 might work as well.'

when running tox with the toxfile here: https://github.com/erikrose/more-itertools/blob/c0339068f094933504d095bb0d2c40577acf7c56/tox.ini

Moving the comment to a different line fixes the issue.

Comments (4)

  1. Ronny Pfannschmidt

    tox cannot consider such inline start characters comments without breaking legitimate dependency listings and/or commands

  2. Holger Krekel repo owner

    well, we could allow comment-recognition for the env-variable i think. We just cannot do it for each line in the ini-file.

  3. Log in to comment