You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Right now developers might forget to use code linters and static analyzers before submitting changes and only get the feedback after CI runs, which might be too slow.
Describe the solution you'd like
Add pre-commit hook which should be executed before each commit to rust code. This hook should automatically check and (optionally) automatically fix issues related to code formatting.
Describe alternatives you've considered
Do we want to force auto-fix of formatting?
Additional context
No
The text was updated successfully, but these errors were encountered:
Do we still want to add clippy to the pre-commit hool?
I didn't find a way to quickly cancel the check if nothing related to clippy is changed. So enabling clippy by default on every commit might be annoying.
Is your feature request related to a problem? Please describe.
Right now developers might forget to use code linters and static analyzers before submitting changes and only get the feedback after CI runs, which might be too slow.
Describe the solution you'd like
Add pre-commit hook which should be executed before each commit to rust code. This hook should automatically check and (optionally) automatically fix issues related to code formatting.
Describe alternatives you've considered
Do we want to force auto-fix of formatting?
Additional context
No
The text was updated successfully, but these errors were encountered: