From: Daan De Meyer Date: Mon, 20 Jan 2025 09:00:30 +0000 (+0100) Subject: mypy: enable scripts_are_modules X-Git-Tag: v25~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c42ef661978500e8822491037b41414b0feca7cf;p=thirdparty%2Fmkosi.git mypy: enable scripts_are_modules Otherwise mypy errors on type checking multiple kernel-install scripts in kernel-install/. --- diff --git a/pyproject.toml b/pyproject.toml index 7426a7a78..d7f9524f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"