aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 9c48089df85ca2bd555604bb0b92caab1bc25e44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: check-merge-conflict
      - id: check-toml
      - id: check-yaml
      - id: end-of-file-fixer
      - id: mixed-line-ending
        args: [--fix=lf]
      - id: trailing-whitespace
        args: [--markdown-linebreak-ext=md]
  - repo: local
    hooks:
      - id: ruff
        name: ruff
        description: This hook runs ruff within our project's environment.
        entry: poetry run ruff
        language: system
        types: [python]