mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add pre-commit (https://pre-commit.com/) configuration to allow developers to run certain checks on their commits automatically. Currently enabled checks and hooks are: - Generic checks (e.g. merge-conflicts, trailing whitespace, etc.) - git clang-format - Codespell - Shellcheck (https://www.shellcheck.net/) Note: For some hooks Rust is excluded as a lot of false positives are produced at the moment. Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
4 lines
17 B
Plaintext
4 lines
17 B
Plaintext
parm
|
|
parms
|
|
crate
|