.pre-commit-config.yaml 504 Bytes
Newer Older
Aarni Koskela's avatar
Aarni Koskela committed
1
2
repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
Titus's avatar
Titus committed
3
    rev: v0.2.0
Aarni Koskela's avatar
Aarni Koskela committed
4
5
6
7
8
    hooks:
      - id: ruff
        args:
          - --fix
      # - id: ruff-format  # TODO: enable when the time is right
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