1
1
---
2
- minimum_pre_commit_version : 2.9.3
2
+ minimum_pre_commit_version : 4.2.0
3
3
repos :
4
4
- repo : https://github.com/pre-commit/pre-commit-hooks
5
- rev : v4 .0.1
5
+ rev : v5 .0.0
6
6
hooks :
7
7
- id : check-merge-conflict
8
8
description : Check for files that contain merge conflict strings.
@@ -29,19 +29,19 @@ repos:
29
29
You must provide list of target files as input in your .pre-commit-config.yaml file.
30
30
files : ^(.*requirements.*\.txt|\.brokignore|sitevars.rst)$
31
31
- repo : https://github.com/timothycrosley/isort
32
- rev : " 5.11.5 "
32
+ rev : " 6.0.1 "
33
33
hooks :
34
34
- id : isort
35
35
description : isort is a Python utility / library to sort imports automatically.
36
36
files : ^((noxfile|conf)|docs/_includes/python/.*)\.py$
37
37
- repo : https://github.com/psf/black
38
- rev : 22.3 .0
38
+ rev : 25.1 .0
39
39
hooks :
40
40
- id : black
41
41
description : Forces best practice formatting of Python code files.
42
42
files : ^((noxfile|conf)|docs/_includes/python/.*)\.py$
43
43
- repo : https://github.com/myint/rstcheck
44
- rev : 3f92957 # Latest as of 05/17/2020
44
+ rev : v6.2.4 # Latest as of 05/17/2020
45
45
hooks :
46
46
- id : rstcheck
47
47
description : Checks syntax of reStructuredText/rst and code blocks nested within it.
@@ -50,12 +50,12 @@ repos:
50
50
files : ^(index|docs/.*|docs/_includes/.*|README|CONTRIBUTING)\.rst$
51
51
exclude : docs/topics/pillar.rst
52
52
- repo : https://github.com/asottile/blacken-docs
53
- rev : v1.10.0
53
+ rev : 1.19.1
54
54
hooks :
55
55
- id : blacken-docs
56
56
description : Run black on python code blocks in documentation files.
57
57
files : ^(index|docs/.*|docs/_includes/.*)\.rst$
58
- additional_dependencies : [black==21.8b0 ]
58
+ additional_dependencies : [black==25.1.0 ]
59
59
# - repo: local
60
60
# hooks:
61
61
# - id: vendir
72
72
# language: system
73
73
# files: ^(index|docs/.*|docs/_includes/.*|README|CONTRIBUTING)\.rst$
74
74
- repo : https://github.com/saltstack/mirrors-nox
75
- rev : v2022.8.7
75
+ rev : v2022.11.21
76
76
hooks :
77
77
- id : nox
78
78
alias : Generate Sphinx docs
0 commit comments