github.com/containers/podman/v5@v5.1.0-rc1/.pre-commit-config.yaml (about)

     1  ---
     2  exclude: ^vendor/|^test/tools/vendor/
     3  repos:
     4    - repo: https://github.com/pre-commit/pre-commit-hooks.git
     5      rev: v3.4.0
     6      hooks:
     7        # buildah-tests.diff is generated by 'git format-patch' and includes
     8        # trailing whitespace as part of its format. We can work around that,
     9        # but unfortunately the buildah repo has some files with tabs, which
    10        # git-diff formats as '[+/-]<space><tab>', which these hooks choke on.
    11        # Just disable checks on this diff file as a special case.
    12        - id: end-of-file-fixer
    13          exclude: test/buildah-bud/buildah-tests.diff
    14        - id: trailing-whitespace
    15          exclude: test/buildah-bud/buildah-tests.diff|test/e2e/quadlet/remap-keep-id2.container|test/e2e/quadlet/line-continuation-whitespace.container
    16        - id: mixed-line-ending
    17        - id: check-byte-order-marker
    18        - id: check-executables-have-shebangs
    19        - id: check-merge-conflict
    20        - id: check-yaml