Add a mention of precommit.sh to CONTRIBUTING.md (#3194)

This commit is contained in:
Ivan Gulakov 2025-05-04 18:58:17 +02:00 committed by GitHub
parent d3ddc8edc4
commit 3ec09711eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,8 @@ Even though we will gladly assist you in finishing up your PR, try to:
- run `cargo build --no-default-features` to check for `no_std` compatibility (and possibly add `#[cfg(feature = "std")]`) to hide parts of your code. - run `cargo build --no-default-features` to check for `no_std` compatibility (and possibly add `#[cfg(feature = "std")]`) to hide parts of your code.
- Please add and describe your changes to MIGRATION.md if you change the APIs. - Please add and describe your changes to MIGRATION.md if you change the APIs.
You can also run ./scripts/precommit.sh to execute checks that will be performed on a PR.
Some of the parts in this list may be hard, don't be afraid to open a PR if you cannot fix them by yourself, so we can help. Some of the parts in this list may be hard, don't be afraid to open a PR if you cannot fix them by yourself, so we can help.
### Pre-commit Hooks ### Pre-commit Hooks