2025-01-12 19:54:41 -06:00

12 lines
230 B
Python

import os
from config import REPO_FORMATS
def repo_name() -> str:
for repo in REPO_FORMATS:
if repo in os.getcwd():
return repo
print("Sorry, this repo isn't setup to use Git Formatter")
exit(1)