]> git.ipfire.org Git - thirdparty/mkosi.git/commit
typing: appease pyright and disable mypy unusued import warning 822/head
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 4 Oct 2021 15:17:06 +0000 (17:17 +0200)
committerJoerg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 4 Oct 2021 15:17:06 +0000 (17:17 +0200)
commit3e6549b2ae1bec50f293bb44993806400286fd63
tree5a25a1344e3bfd9113902799cc8907f09389a8bf
parent45c16fb8be5bdf15fd435a2550b7fe62eada52d3
typing: appease pyright and disable mypy unusued import warning

Since pyright reuses the same comments to ignore types, one can get into
unsatisfiable situations, where one type checker accepts something but the other
doesn't. At this point we only have three instances of type ignore hints anyway,
sol et's relax our mypy settings somewhat, so that we can shut up pyright, when
necessary.
mkosi/__init__.py
setup.cfg