mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 20:31:18 +00:00
* add log path * add test to check if log file is in correct dir * env path * black * mypy fix * linting * add make_paths and change references * terminal change * change constants to paths * change names * black * mypy * mypy * pylint else * add make paths * remove custom user dir name Co-authored-by: Chavithra <chavithra@gmail.com>
12 lines
343 B
Python
12 lines
343 B
Python
# IMPORTATION STANDARD
|
|
from pathlib import Path
|
|
|
|
|
|
HOME_DIRECTORY = Path.home()
|
|
REPO_DIRECTORY = Path(__file__).parent.parent.parent.parent
|
|
SETTINGS_DIRECTORY = HOME_DIRECTORY / ".openbb_terminal"
|
|
ENV_FILE_REPOSITORY = HOME_DIRECTORY / ".env"
|
|
USER_ENV_FILE = SETTINGS_DIRECTORY / ".env"
|
|
|
|
USER_DATA_DIRECTORY = HOME_DIRECTORY / "OpenBBUserData"
|