From: DaanDeMeyer Date: Mon, 22 Dec 2025 19:33:08 +0000 (+0100) Subject: Configure pyright included files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c3d23757ca3aa80eda92960fd923a15fe7b2adf;p=thirdparty%2Fmkosi.git Configure pyright included files Let's configure the files on which pyright should run to avoid long startup times where it tries to check every single file in the workspace directory. --- diff --git a/pyproject.toml b/pyproject.toml index d673857a0..74e92f4c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,11 @@ py_version = "39" [tool.pyright] pythonVersion = "3.9" +include = [ + "mkosi/**/*.py", + "tests/**/*.py", + "kernel-install/*.install" +] [tool.mypy] python_version = 3.9