Skip to content

Add autofix_commit_msg to pre-commit CI configuration - #8

Closed
nstarman with Copilot wants to merge 2 commits into
mainfrom
copilot/update-autofix-commit-message
Closed

nstarman with Copilot wants to merge 2 commits into
mainfrom
copilot/update-autofix-commit-message

Conversation

Copilot AI commented Dec 1, 2025 •

Copy link
Copy Markdown

Description

This pull request is to address the missing autofix_commit_msg configuration in .pre-commit-config.yaml as flagged by sp-repo-review (PC902).

Adds the required CI configuration so automated pre-commit fixes use conventional commit format:

ci:
  autofix_commit_msg: "chore: pre-commit fixes"
  • By checking this box, the PR author has requested that maintainers do NOT use the "Squash and Merge" button. Maintainers should respect this when possible; however, the final decision is at the discretion of the maintainer that merges the PR.
Original prompt

Help me fix id=397027;https://learn.scientific-python.org/development/guides/style#PC902\Custom pre-commit CI autofix message]8;;\ ❌
Should have something like this in .pre-commit-config.yaml:

 ci:                                                                        
   autofix_commit_msg: "style: pre-commit fixes"

Except make it "chore", not "style"


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update pre-commit CI autofix message to use chore Add autofix_commit_msg to pre-commit CI configuration Dec 1, 2025
Copilot AI requested a review from nstarman December 1, 2025 17:41
@nstarman nstarman closed this Dec 1, 2025
@nstarman
nstarman deleted the copilot/update-autofix-commit-message branch December 1, 2025 22:37
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