chore: rename bulkgen to hokusai
This commit is contained in:
parent
a28cc97aed
commit
4def49350e
32 changed files with 215 additions and 213 deletions
|
|
@ -1,4 +1,4 @@
|
|||
"""Shared fixtures for bulkgen integration tests."""
|
||||
"""Shared fixtures for hokusai integration tests."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
@ -8,7 +8,7 @@ from pathlib import Path
|
|||
import pytest
|
||||
import yaml
|
||||
|
||||
from bulkgen.config import ProjectConfig, load_config
|
||||
from hokusai.config import ProjectConfig, load_config
|
||||
|
||||
WriteConfig = Callable[[dict[str, object]], ProjectConfig]
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ def project_dir(tmp_path: Path) -> Path:
|
|||
|
||||
@pytest.fixture
|
||||
def write_config(project_dir: Path) -> WriteConfig:
|
||||
"""Write a bulkgen YAML config and return the loaded ProjectConfig.
|
||||
"""Write a hokusai YAML config and return the loaded ProjectConfig.
|
||||
|
||||
Usage::
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ def write_config(project_dir: Path) -> WriteConfig:
|
|||
"""
|
||||
|
||||
def _write(raw: dict[str, object]) -> ProjectConfig:
|
||||
config_path = project_dir / "project.bulkgen.yaml"
|
||||
config_path = project_dir / "project.hokusai.yaml"
|
||||
_ = config_path.write_text(yaml.dump(raw, default_flow_style=False))
|
||||
return load_config(config_path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue