fix: inline WriteConfig type alias in tests to fix nix flake check
All checks were successful
Continuous Integration / Build Package (push) Successful in 32s
Continuous Integration / Lint, Check & Test (push) Successful in 51s

The tests.conftest import could not be resolved in the nix sandbox
because tests is not a proper package. Define the WriteConfig type
alias directly in test_builder.py and test_graph.py instead.
This commit is contained in:
Konstantin Fickel 2026-02-14 16:50:55 +01:00
parent cf73511876
commit b69c38ac13
Signed by: kfickel
GPG key ID: A793722F9933C1A5
2 changed files with 6 additions and 2 deletions

View file

@ -2,13 +2,15 @@
from __future__ import annotations
from collections.abc import Callable
from pathlib import Path
import pytest
from bulkgen.config import ProjectConfig
from bulkgen.graph import build_graph, get_build_order, get_subgraph_for_target
from tests.conftest import WriteConfig
WriteConfig = Callable[[dict[str, object]], ProjectConfig]
class TestBuildGraph: