From 1398221813a939c79efad3bfa64425e40a587f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Mon, 13 May 2024 13:37:50 +0200 Subject: [PATCH] Fix root directory for hatch_build.py --- hatch_build.py | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hatch_build.py b/hatch_build.py index 380db12923..37bb8f072c 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -9,7 +9,7 @@ from hatchling.builders.hooks.plugin.interface import BuildHookInterface -BASE_DIR = Path(__file__).parents[1] +BASE_DIR = Path(__file__).parent GREEN, RED, RESET = "\033[92m", "\033[91m", "\033[0m" diff --git a/pyproject.toml b/pyproject.toml index c363e0fc67..60b444c786 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -171,6 +171,7 @@ unfixable = [ "panel/io/convert.py" = ["T201"] "panel/pane/vtk/synchronizable_*.py" = ["T201"] "scripts/*.py" = ["T201"] +"hatch_build.py" = ["T201"] [tool.isort] force_grid_wrap = 4