Skip to content

Commit 4b0b1a3

Browse files
authored
Update pre-commit versions (#7348)
* Update pre-commit versions * Add dependabot entry for pre-commit * Update pre-commit and ruff hooks
1 parent 185f587 commit 4b0b1a3

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
version: 2
22
updates:
3-
- package-ecosystem: github-actions
4-
directory: /
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
55
schedule:
6-
interval: weekly
6+
interval: "weekly"
77
ignore:
88
# Ignore all patch releases as we can manually
99
# upgrade if we run into a bug and need a fix.
1010
- dependency-name: "*"
1111
update-types: ["version-update:semver-patch"]
1212
cooldown:
1313
default-days: 7
14+
- package-ecosystem: "pre-commit"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
cooldown:
19+
default-days: 7

.pre-commit-config.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@ exclude: 'docs/|ext/'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.4.0
5+
rev: v6.0.0
66
hooks:
7+
- id: check-case-conflict
8+
- id: check-merge-conflict
9+
- id: check-toml
710
- id: check-yaml
811
- id: end-of-file-fixer
12+
- id: mixed-line-ending
13+
args: [--fix=auto]
914
- id: trailing-whitespace
1015
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.9.3
16+
rev: v0.15.9
1217
hooks:
13-
- id: ruff
18+
- id: ruff-check
1419
args: [--fix]
1520
- id: ruff-format
1621
exclude: tests/test_lowlevel.py

0 commit comments

Comments
 (0)