mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 09:22:26 +00:00
* add log path * add test to check if log file is in correct dir * env path * black * mypy fix * add styles folder and styles from repo * add timezone as env variable * fix changes with main * fix test * flake8 * fix linting * fix linting * fix issue with light mpl stylesheet * change timezone variable name * change names * change names * names * simplify paths.py * change some names * fix error in logic * remove 3.11 from testing for now
14 lines
399 B
Python
14 lines
399 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"
|
|
REPOSITORY_ENV_FILE = HOME_DIRECTORY / ".env"
|
|
USER_ENV_FILE = SETTINGS_DIRECTORY / ".env"
|
|
|
|
USER_DATA_DIRECTORY = HOME_DIRECTORY / "OpenBBUserData"
|
|
|
|
USER_STYLES_DIRECTORY = USER_DATA_DIRECTORY / "styles"
|