repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-added-large-files - id: check-case-conflict - id: end-of-file-fixer - id: trailing-whitespace - id: check-merge-conflict - id: check-yaml - id: check-json - id: no-commit-to-branch - id: mixed-line-ending args: ["--fix=lf"] description: Forces to replace line ending by the UNIX 'lf' character. - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.5.1 hooks: - id: forbid-tabs - id: remove-tabs args: [--whitespaces-count, "4"] - repo: https://github.com/pre-commit/mirrors-clang-format rev: v15.0.7 hooks: - id: clang-format files: ponio/.*\.[hc]pp$