Skip to content

Cookiecutter update, add AI policy#106

Merged
Zeitsperre merged 5 commits into
mainfrom
cookiecutter-update
May 12, 2026
Merged

Cookiecutter update, add AI policy#106
Zeitsperre merged 5 commits into
mainfrom
cookiecutter-update

Conversation

@Zeitsperre
Copy link
Copy Markdown
Collaborator

@Zeitsperre Zeitsperre commented May 11, 2026

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
  • (If applicable) Documentation has been added / updated (for bug fixes / features).
  • (If applicable) Tests have been added.
  • CHANGELOG.rst has been updated (with summary of main changes).
    • Link to issue (:issue:number) and pull request (:pull:number) has been added.

What kind of change does this PR introduce?

  • Updates the cookiecutter template to latest

Does this PR introduce a breaking change?

Yes. There are a handful of new systems here:

  • prek has replaced pre-commit. This tool is a drop-in replacement built in Rust that uses the same configuration files. Documentation has been adjusted to support it.
  • The package now uses dependency-groups to manage non-user dependencies used for documentation and development. Requires pip >=25.2.
  • tox now uses the TOML spec for its configuration. It also relies more heavily on dependency-groups and Makefile recipes.
  • The Makefile now contains logic to handle dependency installation.
  • Linting checks are much more elaborate/consistent.

In addition, the project now contains a base template for generative AI code contribution disclosures. The default "standard" template has been added. See AGENTS.md, AI_POLICY.md and CONTRIBUTING.rst for more information. Other settings are possible (strict and No AI policy).

Other information:

A new workflow has also been added that automatically accepts "safe" Dependabot updates. This has been employed in other Hydrologie projects as well.

Signed-off-by: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com>
Signed-off-by: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com>
@Zeitsperre Zeitsperre requested review from RondeauG and TC-FF May 11, 2026 21:27
@Zeitsperre Zeitsperre self-assigned this May 11, 2026
Signed-off-by: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com>
Signed-off-by: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com>
@Zeitsperre Zeitsperre enabled auto-merge May 12, 2026 13:42
Signed-off-by: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com>
@Zeitsperre Zeitsperre merged commit 3a2eea5 into main May 12, 2026
20 checks passed
@Zeitsperre Zeitsperre deleted the cookiecutter-update branch May 12, 2026 17:12
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