]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mypy: enable scripts_are_modules
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Jan 2025 09:00:30 +0000 (10:00 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 20 Jan 2025 10:00:08 +0000 (11:00 +0100)
Otherwise mypy errors on type checking multiple kernel-install
scripts in kernel-install/.

pyproject.toml

index 7426a7a78422a5069a3cc5995a9df82da24c8113..d7f9524f3c1175a5e39ce4f27b299d1c7c56c3d8 100644 (file)
@@ -72,6 +72,7 @@ show_error_codes = true
 show_column_numbers = true
 warn_unreachable = true
 strict_equality = true
+scripts_are_modules = true
 
 [tool.ruff]
 target-version = "py39"