Skip to content

Commit eff9006

Browse files
committed
Updated pre-commit hooks.
1 parent f010a47 commit eff9006

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
# Ruff version.
4-
rev: v0.4.1
4+
rev: v0.9.9
55
hooks:
66
# Run the linter.
77
- id: ruff
@@ -10,14 +10,14 @@ repos:
1010
# Run the formatter.
1111
- id: ruff-format
1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v4.6.0
13+
rev: v5.0.0
1414
hooks:
1515
- id: trailing-whitespace
1616
- id: check-json
1717
- id: check-yaml
1818
- id: end-of-file-fixer
1919
- repo: https://github.com/asottile/pyupgrade
20-
rev: v3.15.2
20+
rev: v3.19.1
2121
hooks:
2222
- id: pyupgrade
2323
args: [--py3-plus, --py38-plus]

0 commit comments

Comments
 (0)