]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: fix mypy env to allow use with >1 python version
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 18 Mar 2024 20:16:05 +0000 (16:16 -0400)
committerAdam King <adking@redhat.com>
Wed, 27 Mar 2024 15:19:08 +0000 (11:19 -0400)
commit6879ed3219f6d66ffa00244a2e1acdb702359254
tree9e73950cc5381517b566b8af2ddca0914bcc06eb
parent03757f0ef800031415498f60f8250c8b7964a991
pybind/mgr: fix mypy env to allow use with >1 python version

tox supports automatically running tools with different python versions
if you name your envs properly. Continue to permit the use of `mypy` as
an env (as the default) but also allow a selection of python
versions like `py38-mypy`.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 928c54683e17946df23aed4ecb3b0bc9c7c60c9c)
src/pybind/mgr/tox.ini