From 1ef4392c3778e63646713d341473206fd4308f38 Mon Sep 17 00:00:00 2001 From: Isaac Milarsky Date: Tue, 7 Jan 2025 15:28:15 -0600 Subject: [PATCH] fix constants Signed-off-by: Isaac Milarsky --- scripts/constants.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index af1a71ab20..c7a22bf92d 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -10,11 +10,11 @@ REQUEST_RETRIES = 5 BASE_PATH = os.path.dirname(os.path.abspath(__file__)) # Folder Names to send over our projects tracked data -PATH_TO_METRICS_DATA = (Path(__file__).parent / +PATH_TO_METRICS_DATA = (Path(__file__) / "../../app/site/_data").resolve() -PATH_TO_REPORTS_DATA = (Path(__file__).parent / +PATH_TO_REPORTS_DATA = (Path(__file__) / "../../app/site/_posts").resolve() -PATH_TO_GRAPHS_DATA = (Path(__file__).parent / +PATH_TO_GRAPHS_DATA = (Path(__file__) / "../../app/site/_graphs").resolve() PATH_TO_METADATA = Path("_metadata").resolve() @@ -23,7 +23,7 @@ GH_GQL_ENDPOINT = "https://api.github.com/graphql" AUGUR_HOST = os.getenv("AUGUR_HOST") -PATH_TO_TEMPLATES = (Path(__file__).parent / "../../templates").resolve() +PATH_TO_TEMPLATES = (Path(__file__) / "../../templates").resolve() template_path = os.path.join(PATH_TO_TEMPLATES, "repo_report_template.md") with open(template_path, "r", encoding="utf-8") as file: