Revision d9ecf96450ae60c79cfe2dd5b5773585e2e64cb5 authored by Marge Bot on 06 February 2024, 07:59:16 UTC, committed by Marge Bot on 06 February 2024, 07:59:16 UTC
Co-authored-by: Mehdi Bouaziz <mehdi.bouaziz@nomadic-labs.com>

Approved-by: Lucas Randazzo <lucas.randazzo@nomadic-labs.com>
Approved-by: Paul Laforgue <paul.laforgue@nomadic-labs.com>
Approved-by: Zay Dargaye <zaynah.dargaye@nomadic-labs.com>
Approved-by: Julien <julien.tesson@nomadic-labs.com>

See merge request https://gitlab.com/tezos/tezos/-/merge_requests/11374
2 parent s 6ac8e79 + 6dedee7
Raw File
.pre-commit-config.yaml
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.2.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
  - repo: https://github.com/koalaman/shellcheck-precommit
    rev: v0.9.0
    hooks:
      - id: shellcheck
        args: [ "--external-sources" ]
  - repo: https://github.com/cisagov/pre-commit-shfmt
    rev: v0.0.2
    hooks:
      - id: shfmt
        # These settings must mirror the ones set in `scripts/lint.sh`. 
        args: [ "-i", "2", "-sr", "-d" ]
  - repo: https://github.com/arenadotio/pre-commit-ocamlformat
    rev: 0439858
    hooks:
      - id: ocamlformat
        args: [ "-i" ]
back to top