build: configure Python development environment

This commit is contained in:
2026-07-30 16:45:36 +02:00
parent e6eb99556a
commit fa90a5c5de
9 changed files with 129 additions and 21 deletions
+1 -3
View File
@@ -6,7 +6,6 @@ import sys
import tomllib
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
REQUIRED = (
"README.md",
@@ -46,8 +45,7 @@ def main() -> int:
forbidden = [
path
for path in ROOT.rglob("*")
if path.is_file()
and path.name.lower() in {"key-pw.xml", "secrets.local.xml", ".env"}
if path.is_file() and path.name.lower() in {"key-pw.xml", "secrets.local.xml", ".env"}
]
if forbidden:
print("Forbidden local secret files are present:")