From 4b6966c480dd413189d743c1d8f1200bf0827536 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 4 Jun 2026 07:23:56 +0200 Subject: [PATCH] pyproject.toml: Add {mypypath} Add a [tool.mypy] section to pyproject.toml with a {mypypath} template variable. The already existing template generation mechanism in py-topdir.mk should fill that in with a path pointing to all Python modules managed by jw-pkg: [tool.mypy] {mypypath} Signed-off-by: Jan Lindemann --- conf/templates/pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/templates/pyproject.toml b/conf/templates/pyproject.toml index 88acff3d..a9f1e109 100644 --- a/conf/templates/pyproject.toml +++ b/conf/templates/pyproject.toml @@ -1,3 +1,7 @@ +[tool.mypy] + + {mypypath} + [tool.isort] lines_between_sections = 1