]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add `types-PyYAML` dependency in mypy testing
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 6 Dec 2023 15:09:44 +0000 (15:09 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 16:01:04 +0000 (16:01 +0000)
commit6fc4961b837101245a815be4e34e30bdc32b2df4
treef6c67ed4318f269019fb3f5f5019390aac8ffa2a
parent0b1fdba7bf43271a07a6fb3c01bbcba0bdfb93e5
cephadm: add `types-PyYAML` dependency in mypy testing

In order to address the following error:

```
cephadmlib/node_proxy/util.py:2: error: Library stubs not installed for "yaml" (or incompatible with Python 3.9)
cephadmlib/node_proxy/util.py:2: note: Hint: "python3 -m pip install types-PyYAML"
cephadmlib/node_proxy/util.py:2: note: (or run "mypy --install-types" to install all missing stub packages)
cephadmlib/node_proxy/util.py:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
```

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 47e7d3ddac1fd61b57149e5e4305bb9e819ae52e)
src/cephadm/tox.ini