aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 99976d9459738dd5ec701b875a364ce68809f89c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
repos:
  -   repo: https://github.com/keith/pre-commit-buildifier
      rev: 6.4.0
      hooks:
      -   id: buildifier
      -   id: buildifier-lint
  - repo: https://github.com/pre-commit/mirrors-mypy
    rev: v1.11.0
    hooks:
      - id: mypy
        types_or: [ python, pyi ]
        args: [ "--ignore-missing-imports", "--scripts-are-modules" ]
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.4.10
    hooks:
      - id: ruff
        args: [ --fix, --exit-non-zero-on-fix ]
      - id: ruff-format