repos:
  - repo: local
    hooks:
      - id: ruff
        name: ruff linter
        entry: uv run ruff check --fix --show-fixes
        language: system
        types: [python]
      - id: ruff-format
        name: ruff formatter
        entry: uv run ruff format
        language: system
        types: [python]