File size: 573 Bytes
8c49cb6
 
4138f92
8c49cb6
 
 
 
 
a9d88ba
8c49cb6
 
 
95df80d
 
8c49cb6
 
95df80d
 
 
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: v5.0.0
    hooks:
      - id: check-yaml
      - id: check-case-conflict
      - id: detect-private-key
      - id: check-added-large-files
        args: ["--maxkb=1000"]
      - id: requirements-txt-fixer
      - id: end-of-file-fixer
      - id: trailing-whitespace
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.8.4
    hooks:
      - id: ruff
        args: ["--select", "E,F,I,UP,W", "--ignore", "E501", "--fix"]
      - id: ruff-format
        args: ["--line-length", "119"]