refactor hardcoded paths.
This commit is contained in:
1 parent
5b087286cf
commit
da7733490f
5 files changed
+35
-19
No files matched your search
@@ -0,0 +1,13 @@
|
||||
"""Repo-relative locations. Script lives at <vault>/scripts/twitter/."""
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
HERE = Path(__file__).resolve().parent
|
||||
VAULT = HERE.parent.parent
|
||||
PROJECTS = VAULT.parent
|
||||
DUMPS = PROJECTS / "manual_slop" / "docs" / "twitter"
|
||||
WORKSPACE = PROJECTS / "Threadwell-ai"
|
||||
SCRATCH = WORKSPACE / "scratch"
|
||||
COOKIES = VAULT / "secrets" / "twitter_cookies.txt"
|
||||
FROZEN = HERE / "do_not_refetch.txt"
|
||||
Reference in new issue
Block a user