Skip to content

Commit 20dc73c

Browse files
setting up for automatic runs of the pre-commit functions (ruff, black, etc)
1 parent 7bffb7a commit 20dc73c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg|src/geophires_x)(/|$)'
66
# Note the order is intentional to avoid multiple passes of the hooks
77
repos:
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.1.3
9+
rev: v0.3.1
1010
hooks:
1111
- id: ruff
1212
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
1313
- repo: https://github.com/psf/black
14-
rev: 23.10.1
14+
rev: 24.2.0
1515
hooks:
1616
- id: black
1717
- repo: https://github.com/pre-commit/pre-commit-hooks

0 commit comments

Comments
 (0)