in src/co_op_translator/config/base_config.py [0:0]
def load_environment(cls, root_dir="."):
"""
Load environment variables from the target project's root directory.
Args:
root_dir: Root directory of the target project (default is current directory).
"""
env_path = Path(root_dir) / ".env"
if env_path.exists():
load_dotenv(dotenv_path=env_path)
else:
logger.debug(f"No .env file found in {env_path}")