]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: enable running mypy on cephadmlib source files
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 10 Aug 2023 13:46:02 +0000 (09:46 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 30 Aug 2023 14:10:50 +0000 (10:10 -0400)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
src/cephadm/tox.ini

index 2cbfca70f0ed43c68c6b27d0eff6576310fddd1c..d511834315fbb117af2423261604cdf3e6235250 100644 (file)
@@ -44,7 +44,7 @@ basepython = python3
 deps =
     mypy
     -c{toxinidir}/../mypy-constrains.txt
-commands = mypy --config-file ../mypy.ini {posargs:cephadm.py}
+commands = mypy --config-file ../mypy.ini {posargs:cephadm.py cephadmlib}
 
 [testenv:fix]
 basepython = python3