Skip to content

Commit 9c4f96d

Browse files
committed
Update cache_source to prefix file digests with underscore
1 parent 3c4546b commit 9c4f96d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ninetoothed/generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ def visit_Call(self, node):
834834

835835
def cache_source(source):
836836
digest = hashlib.sha256(source.encode("utf-8")).hexdigest()
837-
cache_file = CACHE_DIR / f"{digest}.py"
837+
cache_file = CACHE_DIR / f"_{digest}.py"
838838

839839
if not cache_file.exists():
840840
with open(cache_file, "w", encoding="utf-8") as f:

0 commit comments

Comments
 (0)