Refactor: Cleanup MyPy errors 47/70547/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 26 Aug 2022 20:15:40 +0000 (13:15 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 26 Aug 2022 20:15:40 +0000 (13:15 -0700)
commitbf178d98d718c274f16fc6ac035856eaaaf34728
treec8681b09a259c2adefc4ae277463f5f7f55771be
parentdf799ab0f6c441b5b95945421b2300a428d6541e
Refactor: Cleanup MyPy errors

While preparing to start enforcing MyPy validation by way of pre-commit
several redeclarations of click command / functions were found. After
examining the errors from MyPy these were determined to be faulty in how
they were being implemented. They were not caught before as no linter
was in place that could easily catch it.

Issue: RELENG-4388
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Change-Id: I35c2502cb08f5502fb30e3d14ac083c30209635c
lftools/openstack/cmd.py
releasenotes/notes/mypy_refactor-03dea7aafa58ead4.yaml [new file with mode: 0644]