Scaffold hello-world apps, test frameworks, and Gitea CI
- uv workspace tying nisse-core, nisse-dev, nisse-ops together (src layouts, workspace-sourced nisse-core dependency) - Placeholder hello-world entry points for both agents, calling through nisse-core to exercise the package boundary - pytest unit tests per package; integration tests (marker-gated) running the installed console scripts as subprocesses - ruff lint + format, nisse_* declared first-party - Gitea Actions workflow running lint, format check, unit and integration tests; scripts/check.sh mirrors it locally Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b0efbe7b4c
commit
c1041a5ba1
18 files changed
+315
No files matched your search
@@ -0,0 +1,10 @@
|
||||
[project]
|
||||
name = "nisse-core"
|
||||
version = "0.1.0"
|
||||
description = "Shared agent library for nisse-dev and nisse-ops"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = []
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.12,<0.13"]
|
||||
build-backend = "uv_build"
|
||||
Whitespace-only changes.
@@ -0,0 +1,5 @@
|
||||
"""Placeholder module proving the nisse-core package boundary works."""
|
||||
|
||||
|
||||
def greeting(agent_name: str) -> str:
|
||||
return f"Hello from {agent_name}, the house spirit is awake."
|
||||
@@ -0,0 +1,5 @@
|
||||
from nisse_core.greeting import greeting
|
||||
|
||||
|
||||
def test_greeting_includes_agent_name() -> None:
|
||||
assert greeting("nisse-dev") == "Hello from nisse-dev, the house spirit is awake."
|
||||
Reference in new issue
Block a user