]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
src/mypy.ini: disable namespace packages
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 20 Jan 2024 15:45:31 +0000 (10:45 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 23 Jan 2024 14:45:40 +0000 (09:45 -0500)
commitf557827011e93d836f4334ca9c4efd5b9ef70c9b
tree7a373be86a30a1b990f380d7d383046be95b66d0
parentaa42bf14cf19a43ad3b5556ab1b6d4aec9e68a26
src/mypy.ini: disable namespace packages

Configure mypy not to use namespace packages as the cython source dirs
in src/pybind/{cephfs,rados,rbd}, etc. confuse mypy into thinking
it's an empty namespace package rather than a missing module.
Found using mypy 0.990.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/mypy.ini