-
Notifications
You must be signed in to change notification settings - Fork 32
Add pre-commit #266
Copy link
Copy link
Closed
Labels
EnhancementNew features or upgrades for functionality, performance, etcNew features or upgrades for functionality, performance, etc
Description
Is your feature request related to a problem? Please describe.
Currently, if a contributor does not format the code properly, sys_vdms makes a commit to the PR branch with format changes. This causes it to rerun the CI workflows with the format changes. To avoid this, we should have an automatic process.
Describe the solution you'd like
A solution is to enable the repo with pre-commit hooks. By doing so, the checks are run automatically prior to committing new code or the user can run pre-commit run --all-files (after running pip install pre-commit).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementNew features or upgrades for functionality, performance, etcNew features or upgrades for functionality, performance, etc