]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: add a dedicated tox env to run mypy
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Mar 2023 20:49:27 +0000 (16:49 -0400)
committerAfreen <afreen23.git@gmail.com>
Thu, 15 Feb 2024 08:27:20 +0000 (13:57 +0530)
commit372a9e29cc266ebb0fc990a4c6541693eec857fc
tree2bcb09b07611f16d4a4a9dce30d644c119bb130e
parent9aa523302d708a6b7b80d8bdd462ebc306fb50d2
python-common: add a dedicated tox env to run mypy

IMO it's not a good practice to overload a tox rule with multiple
different test tools. It forces the tools to share the same virtualenvs
and makes it impossible to run the tools individually. A separate mypy
env also better matches the other tox.ini files in the ceph tree.
Since the new 'mypy' env is in the default env list it will continue
to get run automatically when no specific envs are selected.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit ff39f87701ba5935902f2a6c67d7ad178bddc5e0)
src/python-common/tox.ini