729 B
729 B
{{PKG}}
Testing
- Baseline:
just test(wrapspipenv 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 withjust install-hooks. It re-runsjust ciat commit time and fails closed ifjustis unavailable. - Tool config:
.pylintrc(pylint),pyproject.toml(black, isort). Fix mode:just fmt.
Layout
- Flat layout, no packaging step: root
conftest.pyexists only to put the repo root on sys.path for tests. - Application entrypoints belong in a
bin/directory at the repo root.