repos:
  - repo: https://gitcode.com/openUBMC/pre-commit-hooks
    rev: 0.1.0
    hooks:
      - id: conventional-commit
      - id: add-signoff-and-change-id
      - id: check-sr
      - id: check-json
        exclude: '\.vscode/'
      - id: check-yaml
  - repo: https://gitcode.com/gh_mirrors/pr/pre-commit-hooks
    rev: v6.0.0
    hooks:
      - id: trailing-whitespace
        exclude: '(\.vscode/|multi-user\.target\.wants/)'
      - id: end-of-file-fixer
        exclude: '(\.vscode/|multi-user\.target\.wants/)'
      - id: check-merge-conflict
      - id: check-added-large-files
        args: [--maxkb, "1024"]
      - id: check-case-conflict
      - id: detect-private-key