summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/config.py
blob: 2619df097b229eae59321a6d894251ce01f82e88 (plain)
1
2
3
4
5
6
7
8
import subprocess
from dynaconf import Dynaconf

settings = Dynaconf(settings_file="settings.toml", environments=True,)

GIT_REVISION = (
    subprocess.check_output(["git", "describe", "--always"]).strip().decode("utf-8")
)