Skip to content

Add pre-commit #266

@cwlacewe

Description

@cwlacewe

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).

Metadata

Metadata

Assignees

Labels

EnhancementNew features or upgrades for functionality, performance, etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions