Warning
This repo is archived and no longer maintained. The template version of this project is available in the python-anything repository.
An applied version of a Python project template. The contents of this project will be converted into a template by Copier and published in the python-anything repository.
- Linting & Formatting: Ruff for linting and formatting, configured in
ruff.toml. - Git Hooks: prek runs pre-commit hooks defined in
.pre-commit-config.yaml, including:- General checks (large files, merge conflicts, trailing whitespace, etc.)
pyproject-fmtforpyproject.tomlformattinguv-lockto keep the lockfile in syncrufffor linting and formattingyamlfmtfor YAML formattingcheck-jsonschemafor GitHub Actions workflow validationzizmorfor GitHub Actions security auditingcodespellfor spell checking
- CI: GitHub Actions workflows for running tests (
pytest) and git hooks. - Dependency Management: uv with pinned versions in
pyproject.tomlanduv.lock. - Dependency Updates: Renovate for automated dependency update PRs.
- Testing: pytest with pytest-xdist for parallel test execution.
- Use ulgens/django-blasphemy for Django projects.
- Install git hooks by
prek installand ensure your changes pass the checks before creating a pull request.- After
prek install, git hooks will be automatically run while committing. To manually run the checks, useprek run.
- After