File size: 1,364 Bytes
313814b
 
 
 
577b26e
313814b
 
 
 
 
1cffcb2
d0feed8
4d4517b
d0feed8
 
 
c7b55ea
d0feed8
 
 
 
 
 
 
7003957
d0feed8
 
cf89a50
5f15aaf
cf89a50
 
7003957
cf89a50
7003957
4ac82cc
7003957
 
9bac415
d294e39
d0feed8
9bac415
1cffcb2
 
 
 
 
b56d19a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-yaml
      - id: check-added-large-files
        args: ['--maxkb=500'] # default: 500
  - repo: https://github.com/python-jsonschema/check-jsonschema
    rev: 0.31.0
    hooks:
      - id: check-taskfile
  - repo: https://github.com/rhysd/actionlint
    rev: v1.7.6
    hooks:
      - id: actionlint
  - repo: https://github.com/IamTheFij/docker-pre-commit
    rev: v3.0.1
    hooks:
      - id: docker-compose-check
  - repo: https://github.com/hadolint/hadolint
    rev: v2.13.0-beta
    hooks:
      - id: hadolint
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.9.1
    hooks:
      - id: ruff
        args: [--fix]
      - id: ruff-format
  - repo: https://github.com/google/yamlfmt
    rev: v0.15.0
    hooks:
      - id: yamlfmt
  - repo: https://github.com/DetachHead/basedpyright-pre-commit-mirror
    rev: 1.23.2
    hooks:
      - id: basedpyright
        pass_filenames: false # TODO: document
  - repo: https://github.com/Yelp/detect-secrets
    rev: v1.5.0
    hooks:
      - id: detect-secrets
        exclude: 'README.md|tests/conftest.py|docs/usage/*'