check-python-versions icon indicating copy to clipboard operation
check-python-versions copied to clipboard

support for tox with dotted env

Open gpongelli opened this issue 2 years ago • 0 comments

as per comment , I'm opening a new issue regarding TOX env with dot inside:

[tox:tox]
isolated_build = true
envlist = lint, format, py3.8, py3.9, py3.10, py3.11, build

looking at the code, a new elif branch should be put here, something like:

    elif env.startswith('py') and '.' in env:
        return Version.from_string(f'{env[2]}.{env[4:]}')

next week I could start a PR on this topic.

gpongelli avatar Jan 28 '23 14:01 gpongelli