Skip to content

Commit

Permalink
fix constants
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Milarsky <[email protected]>
  • Loading branch information
IsaacMilarky committed Jan 7, 2025
1 parent 9af7d48 commit 1ef4392
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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:
Expand Down

0 comments on commit 1ef4392

Please sign in to comment.