From 1b9843d57996b289c773dec67753c33c05efe2af Mon Sep 17 00:00:00 2001 From: Lilly Sell Date: Wed, 3 Dec 2025 10:05:01 +0100 Subject: [PATCH] chore(misc): Add PEP723 inline script metadata to charts-local.py This makes it possible to simply run the script e.g. via `run run charts-local.py` and without having to setup and maintain a virtual environment. --- dev/charts-local.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev/charts-local.py b/dev/charts-local.py index 391ca1af..2abfb5cb 100755 --- a/dev/charts-local.py +++ b/dev/charts-local.py @@ -1,6 +1,14 @@ #!/usr/bin/env python3 # SPDX-FileCopyrightText: 2024 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH # SPDX-License-Identifier: Apache-2.0 +# /// script +# requires-python = ">=3.12" +# dependencies = [ +# "configargparse", +# "gitpython", +# "pyyaml", +# ] +# /// import os.path import logging