From febd79858607b0e6551e0acf8e9a9db604bc72a7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:06:26 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pdm_build.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pdm_build.py b/pdm_build.py index 24f509964..58a3f98a5 100644 --- a/pdm_build.py +++ b/pdm_build.py @@ -7,15 +7,12 @@ TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "fastapi") def pdm_build_initialize(context: Context) -> None: - metadata = context.config.metadata # Get custom config for the current package, from the env var config: Dict[str, Any] = context.config.data["tool"]["tiangolo"][ "_internal-slim-build" - ]["packages"].get( - TIANGOLO_BUILD_PACKAGE - ) + ]["packages"].get(TIANGOLO_BUILD_PACKAGE) if not config: return