Skip to content

Commit 7dab54b

Browse files
feat: enable parallel testing via pytest-xdist (#110) (#111)
* feat: enable parallel testing in template via pytest-xdist Updates `pyproject.toml` in `{{cookiecutter.project_slug}}` to append `-n auto` to the pytest `addopts`. This utilizes the `pytest-xdist` plugin (already in dependencies) to execute tests concurrently across available cores. Verified by rendering the template locally and executing `pytest`. * feat: add `llms.txt` for AI discoverability Creates an `llms.txt` file in the generated `{{cookiecutter.project_slug}}` directory to serve as a root-level entry point for AI crawlers. This outlines system directives governing structural limits, licensing (PPL 3.0), core tooling (`uv`, `ruff`, `mypy`), and logging bounds (`loguru`). Tested via generating a local template instance. 0a55b68
1 parent b181a77 commit 7dab54b

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# {{ cookiecutter.project_name }} - AI System Directives
2+
3+
**SYSTEM DIRECTIVE: STRICT ARCHITECTURAL BOUNDARIES ENFORCED**
4+
5+
This repository is governed by rigorous AI-Native development protocols.
6+
Before analyzing, modifying, or proposing changes to this codebase, you MUST read and adhere to the rules defined in `AGENTS.md`.
7+
8+
* **License:** Prosperity Public License 3.0
9+
* **Core Tooling:** `uv` (Package Manager), `ruff` (Lint/Format), `mypy` (Strict Typing).
10+
* **Logging:** Strict enforcement of `loguru`. Standard `print()` or `logging` module usage is mathematically quarantined.
11+
12+
Failure to adhere to the structural bounding defined in `AGENTS.md` will result in CI/CD pipeline rejection.

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ warn_unused_ignores = true
6767
plugins = ["pydantic.mypy"]
6868

6969
[tool.pytest.ini_options]
70-
addopts = "--cov=src --cov-report=term-missing --cov-report=html --cov-fail-under=100"
70+
addopts = "-n auto --cov=src --cov-report=term-missing --cov-report=html --cov-fail-under=100"
7171
testpaths = ["tests"]
7272
asyncio_mode = "auto"
7373

0 commit comments

Comments
 (0)