@@ -16,7 +16,7 @@ default_language_version:
16
16
python : python3
17
17
repos :
18
18
- repo : https://github.com/pre-commit/pre-commit-hooks
19
- rev : v4.5 .0
19
+ rev : v4.6 .0
20
20
hooks :
21
21
- id : check-added-large-files
22
22
- id : check-case-conflict
@@ -33,13 +33,13 @@ repos:
33
33
- id : name-tests-test
34
34
args : ["--pytest-test-first"]
35
35
- repo : https://github.com/abravalheri/validate-pyproject
36
- rev : v0.16
36
+ rev : v0.18
37
37
hooks :
38
38
- id : validate-pyproject
39
39
name : Validate pyproject.toml
40
40
# I don't yet trust ruff to do what autoflake does
41
41
- repo : https://github.com/PyCQA/autoflake
42
- rev : v2.3.0
42
+ rev : v2.3.1
43
43
hooks :
44
44
- id : autoflake
45
45
args : [--in-place]
@@ -48,32 +48,33 @@ repos:
48
48
hooks :
49
49
- id : isort
50
50
- repo : https://github.com/asottile/pyupgrade
51
- rev : v3.15.1
51
+ rev : v3.16.0
52
52
hooks :
53
53
- id : pyupgrade
54
54
args : [--py310-plus]
55
55
- repo : https://github.com/MarcoGorelli/auto-walrus
56
- rev : v0.2.2
56
+ rev : 0.3.4
57
57
hooks :
58
58
- id : auto-walrus
59
+ additional_dependencies : [tomli]
59
60
args : [--line-length, "100"]
60
61
- repo : https://github.com/psf/black
61
- rev : 24.2.0
62
+ rev : 24.4.2
62
63
hooks :
63
64
- id : black
64
65
# - id: black-jupyter
65
66
- repo : https://github.com/astral-sh/ruff-pre-commit
66
- rev : v0.2.2
67
+ rev : v0.5.0
67
68
hooks :
68
69
- id : ruff
69
70
args : [--fix-only, --show-fixes]
70
71
- repo : https://github.com/PyCQA/flake8
71
- rev : 7.0 .0
72
+ rev : 7.1 .0
72
73
hooks :
73
74
- id : flake8
74
75
additional_dependencies : &flake8_dependencies
75
76
# These versions need updated manually
76
- - flake8==7.0 .0
77
+ - flake8==7.1 .0
77
78
- flake8-bugbear==24.2.6
78
79
- flake8-simplify==0.21.0
79
80
- repo : https://github.com/asottile/yesqa
@@ -82,14 +83,14 @@ repos:
82
83
- id : yesqa
83
84
additional_dependencies : *flake8_dependencies
84
85
- repo : https://github.com/codespell-project/codespell
85
- rev : v2.2.6
86
+ rev : v2.3.0
86
87
hooks :
87
88
- id : codespell
88
89
types_or : [python, rst, markdown]
89
90
additional_dependencies : [tomli]
90
91
files : ^(graphblas_algorithms|docs)/
91
92
- repo : https://github.com/astral-sh/ruff-pre-commit
92
- rev : v0.2.2
93
+ rev : v0.5.0
93
94
hooks :
94
95
- id : ruff
95
96
# `pyroma` may help keep our package standards up to date if best practices change.
@@ -100,6 +101,6 @@ repos:
100
101
- id : pyroma
101
102
args : [-n, "10", .]
102
103
- repo : https://github.com/pre-commit/pre-commit-hooks
103
- rev : v4.5 .0
104
+ rev : v4.6 .0
104
105
hooks :
105
106
- id : no-commit-to-branch # no commit directly to main
0 commit comments