1
Fork 0

Hide config directory

This commit is contained in:
Jake Howard 2015-12-06 15:24:03 +00:00
parent d514919b62
commit 52f09a481a

View file

@ -2,10 +2,10 @@ import os
# Core Directories # Core Directories
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) BASE_DIR = os.path.dirname(os.path.abspath(__file__))
DATA_DIR = os.path.expanduser("~/dfa/") DATA_DIR = os.path.expanduser("~/.dfa/")
# Config # Config
USER_CONFIG_DIR = os.path.join(DATA_DIR, ".dfa.yml") USER_CONFIG_DIR = os.path.join(DATA_DIR, "dfa.yml")
DEFAULT_CONFIG_DIR = os.path.join(BASE_DIR, 'defaults.yml') DEFAULT_CONFIG_DIR = os.path.join(BASE_DIR, 'defaults.yml')
REQUIRED_KEYS = ['public_repo'] REQUIRED_KEYS = ['public_repo']