Add repo config and python project template

This commit is contained in:
jay
2026-11-09 12:36:39 -05:00
commit 041a9f3943
18 changed files with 498 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# {{PKG}}
## Testing
- Baseline: `just test` (wraps `pipenv run pytest`)
- Single test: `pipenv run pytest tests/test_file.py::test_name`
## Git
- Push to origin after every commit.
## Quality gate
- Run `just ci` (fmt-check, lint, test) before staging any changes.
- The pre-commit hook is versioned at `hooks/pre-commit`; install it with `just install-hooks`. It re-runs `just ci` at commit time and fails closed if `just` is unavailable.
- Tool config: `.pylintrc` (pylint), `pyproject.toml` (black, isort). Fix mode: `just fmt`.
## Layout
- Flat layout, no packaging step: root `conftest.py` exists only to put the repo root on sys.path for tests.
- Application entrypoints belong in a `bin/` directory at the repo root.