.pre-commit-config.yaml 553 Bytes
Newer Older
Aarni Koskela's avatar
Aarni Koskela committed
1
2
repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
3
    rev: v0.3.2
Aarni Koskela's avatar
Aarni Koskela committed
4
5
6
7
    hooks:
      - id: ruff
        args:
          - --fix
8
      - id: ruff-format
9
10
11
12
13
14
15
16
17
18
19
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
      - id: check-merge-conflict
      - id: check-yaml
      - id: end-of-file-fixer
      - id: fix-byte-order-marker
      - id: trailing-whitespace
      - id: mixed-line-ending
        args:
          - --fix=lf
20
  - repo: https://github.com/crate-ci/typos
Titus von Koeller's avatar
Titus von Koeller committed
21
    rev: v1.18.2
22
23
    hooks:
      - id: typos