Skip to content

Refresh this CPG repo template#18

Merged
Johnnyassaf merged 14 commits into
mainfrom
cpg-general-template-update
May 5, 2026
Merged

Refresh this CPG repo template#18
Johnnyassaf merged 14 commits into
mainfrom
cpg-general-template-update

Conversation

@Johnnyassaf

Copy link
Copy Markdown
Contributor
  • refresh the general CPG Python template with a complete pyproject.toml (hatchling build, project metadata, dev/test extras), removing requirements-dev.txt
    • Bump all pre-commit hooks to latest (ruff v0.15.0, mypy v1.19.1, pre-commit-hooks v6.0.0), add ruff-format, drop markdownlint
    • Update lint CI: setup-python@v5, Python 3.11, pip caching, scoped triggers
    • Clean up ruff config: remove old rules

@Johnnyassaf Johnnyassaf requested a review from MattWellie May 5, 2026 02:31

@MattWellie MattWellie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of pre-commit functions have already moved on a few versions. Might be good to state somewhere in the pyproject.toml that the repository works perfectly well as a scripts repo with formatting/linting set up, or it can be used to create named packages. The latter feels like the most likely use case, but we have a couple of both, and only one needs installation

Comment thread .pre-commit-config.yaml Outdated
Comment thread .pre-commit-config.yaml Outdated
Johnnyassaf and others added 3 commits May 5, 2026 12:45
Co-authored-by: Matt Welland <mattwellie@gmail.com>
Co-authored-by: Matt Welland <mattwellie@gmail.com>
@Johnnyassaf Johnnyassaf merged commit b15fe09 into main May 5, 2026
2 checks passed
@Johnnyassaf Johnnyassaf deleted the cpg-general-template-update branch May 5, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants