github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/.pre-commit-config.yaml (about)

     1  # See https://pre-commit.com for more information
     2  # See https://pre-commit.com/hooks.html for more hooks
     3  repos:
     4    - repo: https://github.com/pre-commit/pre-commit-hooks
     5      rev: v3.2.0
     6      hooks:
     7        - id: check-merge-conflict
     8        - id: detect-aws-credentials
     9          args: [--allow-missing-credentials]
    10        - id: detect-private-key
    11        - id: check-yaml
    12        - id: check-json
    13    - repo: local
    14      hooks:
    15        - id: extra-credential-checking
    16          name: Extra Credential Checking
    17          entry: .gitprecommit/aws_key_checker.sh
    18          language: script
    19        - id: go-vet
    20          name: go vet
    21          entry: .gitprecommit/go_vet.sh
    22          language: script
    23        - id: go-fmt
    24          name: go fmt
    25          entry: .gitprecommit/go_fmt.sh
    26          language: script
    27        - id: golangci-lint
    28          name: golangci-lint --fix
    29          entry: .gitprecommit/golangci-lint.sh
    30          language: script
    31        - id: go-mod-tidy-check
    32          name: make modtidy check-diff
    33          entry: .gitprecommit/go_mod_tidy_check.sh
    34          language: script