Commit e15a125
committed
feat: Create best-in-class Python package template
This commit introduces a complete, production-ready Python package template with a modern and standardized structure.
Key features include:
- Poetry for dependency management.
- A comprehensive pre-commit suite for code quality, linting, and formatting (Ruff, Mypy, etc.).
- A secure, multi-stage Dockerfile running as a non-root user.
- Robust CI/CD pipelines for GitHub Actions with linting, testing, and Docker image scanning (Trivy).
- All third-party GitHub Actions are pinned to their full commit SHA for security.
- Dual-licensing model with the Prosperity Public License and a commercial option.
- All dependencies and pre-commit hooks are pinned to their latest stable versions.
- The template has been validated to pass its own pre-commit checks and the CI has been fixed to be fully functional.1 parent 2aeeb67 commit e15a125
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments