1- ---
2- # See https://pre-commit.com for more information
3- # See https://pre-commit.com/hooks.html for more hooks
4-
51repos :
62- repo : https://github.com/pre-commit/pre-commit-hooks
73 rev : v6.0.0
@@ -13,43 +9,49 @@ repos:
139 - id : check-added-large-files
1410 - id : check-case-conflict
1511 - id : check-merge-conflict
16-
1712- repo : https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
1813 rev : 0.2.3
1914 hooks :
2015 - id : yamlfmt
21- args : [--mapping, '2', --sequence, '2', --offset, '0']
22-
16+ args :
17+ - --mapping
18+ - ' 2'
19+ - --sequence
20+ - ' 2'
21+ - --offset
22+ - ' 0'
2323- repo : https://github.com/hadolint/hadolint
2424 rev : v2.14.0
2525 hooks :
2626 - id : hadolint-docker
2727 name : Lint Dockerfiles
2828 description : Runs hadolint Docker image to lint Dockerfiles
2929 language : docker_image
30- types : [dockerfile]
30+ types :
31+ - dockerfile
3132 entry : ghcr.io/hadolint/hadolint hadolint
32-
3333- repo : https://github.com/pycqa/isort
3434 rev : 8.0.0
3535 hooks :
3636 - id : isort
37-
38- # Aplly black formatting to python code
39- # https://github.com/psf/black
4037- repo : https://github.com/psf/black-pre-commit-mirror
4138 rev : 26.1.0
4239 hooks :
4340 - id : black
44- args : [--config, pyproject.toml]
45-
46- # Checks for spelling errors
41+ args :
42+ - --config
43+ - pyproject.toml
4744- repo : https://github.com/codespell-project/codespell
4845 rev : v2.4.1
4946 hooks :
5047 - id : codespell
51- args : [--toml, pyproject.toml]
52- additional_dependencies : [tomli]
53-
48+ args :
49+ - --toml
50+ - pyproject.toml
51+ additional_dependencies :
52+ - tomli
5453ci :
55- skip : [hadolint-docker]
54+ autoupdate_commit_msg : ' chore: update pre-commit hooks'
55+ autoupdate_schedule : monthly
56+ autofix_commit_msg : ' style: pre-commit fixes'
57+ autofix_prs : false
0 commit comments