Skip to content

[CI] Update pre-commit configuration#18448

Merged
tqchen merged 1 commit intoapache:mainfrom
guan404ming:upgrade-pre-commit
Nov 14, 2025
Merged

[CI] Update pre-commit configuration#18448
tqchen merged 1 commit intoapache:mainfrom
guan404ming:upgrade-pre-commit

Conversation

@guan404ming
Copy link
Copy Markdown
Member

@guan404ming guan404ming commented Nov 14, 2025

Why

pre-commit file seems outdated and not updated for a while

How

  • upgrade Python version to 3.9 since current ci run on 3.9 and 3.6 is EOL
  • update pre-commit hooks to newest version 6.0.0
  • change default stages to pre-push (push is deprecated)

@guan404ming guan404ming marked this pull request as ready for review November 14, 2025 09:23
@tqchen tqchen merged commit 2523ee1 into apache:main Nov 14, 2025
16 checks passed
@guan404ming
Copy link
Copy Markdown
Member Author

Thanks!

@guan404ming guan404ming deleted the upgrade-pre-commit branch November 14, 2025 15:36
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