refactor: move clan_cli.error to clan_lib.error

This commit is contained in:
Johannes Kirschbauer
2025-05-16 14:10:59 +02:00
parent 9a642e465f
commit f210b2f9a6
87 changed files with 149 additions and 109 deletions

View File

@@ -1,9 +1,9 @@
import json
from dataclasses import dataclass
from clan_cli.errors import ClanError
from clan_cli.git import commit_file
from clan_lib.errors import ClanError
from clan_lib.flake.flake import Flake
from clan_lib.nix_models.inventory import Inventory

View File

@@ -6,7 +6,7 @@ flattening, unmerging lists, finding duplicates, and calculating patches.
from collections import Counter
from typing import Any
from clan_cli.errors import ClanError
from clan_lib.errors import ClanError
def flatten_data(data: dict, parent_key: str = "", separator: str = ".") -> dict:

View File

@@ -2,8 +2,8 @@
from typing import Any
import pytest
from clan_cli.errors import ClanError
from clan_lib.errors import ClanError
from clan_lib.persist.util import (
apply_patch,
calc_patches,