Skip to content

docs: add instructions for skipping pre-commit hooks in CONTRIBUTING.md #12745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TeckHack76
Copy link

@TeckHack76 TeckHack76 commented May 13, 2025

Describe your change:

This PR updates the CONTRIBUTING.md file to include a section explaining how to skip pre-commit checks for exploratory or experimental changes using the --no-verify flag.

Note: This should only be used for local testing purposes. Final contributions must pass all pre-commit checks.

Closes #12732

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Add or change doctests?
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one documentation file.

Copy link

@yizhiakuya yizhiakuya left a comment

Choose a reason for hiding this comment

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

这是一个很好的文档更新,它可以帮助开发者在进行探索性编程时更有效率地工作。文档清晰说明了这种方法只应该用于本地测试,最终提交时仍需通过所有的预提交检查。

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.

Replace dependency requests with httpx
2 participants