Skip to content

pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks.

homepage: https://pre-commit.com/

Available installations

pre-commit version Supported CPU targets Supported GPU targets EESSI version Module
3.7.0 generic: aarch64, x86_64
Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/grace
AMD: zen2, zen3, zen4
Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake
(none) 2023.06 pre-commit/3.7.0-GCCcore-13.2.0

Extensions

Overview of extensions included in pre-commit installations

cfgv

cfgv version pre-commit modules that include it
3.4.0 pre-commit/3.7.0-GCCcore-13.2.0

identify

identify version pre-commit modules that include it
2.5.35 pre-commit/3.7.0-GCCcore-13.2.0

nodeenv

nodeenv version pre-commit modules that include it
1.8.0 pre-commit/3.7.0-GCCcore-13.2.0

pre-commit

pre-commit version pre-commit modules that include it
3.7.0 pre-commit/3.7.0-GCCcore-13.2.0