File size: 368 Bytes
3d79eb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
repos:
  - repo: https://github.com/astral-sh/uv-pre-commit
    rev: 0.5.7
    hooks:
      - id: uv-lock
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.8.2
    hooks:
      # Lint
      - id: ruff
        args: [ --fix ]
      # sort imports
      - id: ruff
        args: ["check", "--select", "I", "--fix"]
      # format
      - id: ruff-format