14
14
repos :
15
15
# Standard hooks
16
16
- repo : https://github.com/pre-commit/pre-commit-hooks
17
- rev : v4.4 .0
17
+ rev : v4.5 .0
18
18
hooks :
19
19
- id : check-added-large-files
20
20
- id : check-case-conflict
29
29
30
30
# Clean jupyter notebooks
31
31
- repo : https://github.com/srstevenson/nb-clean
32
- rev : " 2.4 .0"
32
+ rev : " 3.1 .0"
33
33
hooks :
34
34
- id : nb-clean
35
35
@@ -43,41 +43,41 @@ repos:
43
43
44
44
# Handling unwanted unicode characters
45
45
- repo : https://github.com/sirosen/texthooks
46
- rev : 0.5.0
46
+ rev : 0.6.3
47
47
hooks :
48
48
- id : fix-ligatures
49
49
- id : fix-smartquotes
50
50
51
- - repo : https://github.com/charliermarsh /ruff-pre-commit
52
- rev : v0.0.275
51
+ - repo : https://github.com/astral-sh /ruff-pre-commit
52
+ rev : v0.1.6
53
53
hooks :
54
54
- id : ruff
55
55
args : ["--fix"]
56
56
57
57
# Run code formatting with Black
58
58
- repo : https://github.com/psf/black
59
- rev : 23.3 .0 # Keep in sync with blacken-docs
59
+ rev : 23.11 .0 # Keep in sync with blacken-docs
60
60
hooks :
61
61
- id : black-jupyter
62
62
63
63
# Also run Black on examples in the documentation
64
64
- repo : https://github.com/asottile/blacken-docs
65
- rev : 1.14 .0
65
+ rev : 1.16 .0
66
66
hooks :
67
67
- id : blacken-docs
68
68
additional_dependencies :
69
69
- black==23.3.0 # keep in sync with black hook
70
70
71
71
# Format configuration files with prettier
72
72
- repo : https://github.com/pre-commit/mirrors-prettier
73
- rev : " v3 .0.0-alpha.9-for-vscode "
73
+ rev : " v4 .0.0-alpha.3 "
74
74
hooks :
75
75
- id : prettier
76
76
types_or : [yaml, markdown, html, css, scss, javascript, json]
77
77
78
78
# Check for spelling
79
79
- repo : https://github.com/codespell-project/codespell
80
- rev : v2.2.5
80
+ rev : v2.2.6
81
81
hooks :
82
82
- id : codespell
83
83
args : ["-L", "wille,linz,braket,coo", "--skip", "*.ipynb"]
0 commit comments