Replies: 1 comment
-
@akokoshn @makxenov How do you feel about it? Will it be useful or not? The reason I'm opening this is because today I forgot again to run (For sure partially the reason is that our workers are overloaded but anyway) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can add
pre-commit
tool support. This is a pretty well-known tool to manage Git hooks easily. Developers will be able to install hooks described in.pre-commit-config.yaml
config file and thus save time on contributing.Possible hooks for us are the tools we use for code quality control now:
clang-format
code formatting checkmarkdownlint
checkThe list can be enlarged in the future.
pre-commit
simplifies the process of distributing Git hooks. Developer have to havepre-commit
installed (pip install pre-commit
) and runpre-commit install
afterwards to install all described hooks into his local repository. As a result, when developer runsgit commit
, these hooks will be invoked and may apply changes before creating a commit.Beta Was this translation helpful? Give feedback.
All reactions