implement env manager #6

Merged
dan merged 28 commits from dependency-improvement into dev 2023-12-04 17:09:03 +01:00
Showing only changes of commit dc0e568c04 - Show all commits

View file

@ -1,8 +1,6 @@
from pathlib import Path
from typing import NamedTuple
from loguru import logger
class EnvFile(NamedTuple):
env_path: Path
@ -55,5 +53,6 @@ def sort_env_files_by_rule(env_list: list[EnvFile], rules: list[DependencyRule])
if all(rule_satisfied):
return in_list
logger.error("could not find order that satisfys all rules")
raise ValueError
raise ValueError(
"Could not resolve test order. This is possibly due to a circular dependency (a on b, b on c, c on a)"
)