github.com/weaviate/weaviate@v1.24.6/.pre-commit-config.yaml (about)

     1  repos:
     2    - repo: local
     3      hooks:
     4        - id: gofumpt
     5          name: gofumpt
     6          entry: gofumpt -w
     7          language: system
     8          types: [ go ]
     9        - id: error groups
    10          name: error groups
    11          entry: ./tools/linter_error_groups.sh
    12          language: system
    13          types: [ go ]
    14        - id: go routines
    15          name: go routines
    16          entry: ./tools/linter_go_routines.sh
    17          language: system
    18          types: [ go ]
    19        - id: swagger
    20          name: swagger
    21          entry: ./tools/gen-code-from-swagger.sh
    22          language: system
    23          types: [ go ]
    24    -   repo: https://github.com/psf/black
    25        rev: 24.2.0
    26        hooks:
    27          -   id: black