summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: d997d452210b793ea8b4f210bf60f4c7686ccca8 (plain)
1
2
3
4
5
6
7
8
9
10
repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
    # Ruff version.
    rev: v0.1.8
    hooks:
      # Run the linter.
      - id: ruff
        args: [ --fix, --show-fixes ]
      # Run the formatter.
      - id: ruff-format