Recently a bunch of my pre-commit CI jobs started failing due to dependency resolution issues. The easiest way to ensure reliable usage is to have locally installed tools used. Consider: 1- repo: https://github.com/pocc/pre-commit-hooks 2 rev: v1.3.5 3 hooks: 4 - id: cppcheck 5 args: ["--error-exitcode=0"] Which leaves one dependent on an external repo. This can be rewritten as: 1- repo: local 2 hooks: 3 - id: cppcheck 4 name: cppcheck 5 entry: cppcheck 6 language: system 7 types_or: [c++, c]...