Skip to content

Commit 5ac9baf

Browse files
Update .pre-commit-config.yaml (#2303)
* Update .pre-commit-config.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ab5551c commit 5ac9baf

2 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ updates:
55
schedule:
66
interval: daily
77
open-pull-requests-limit: 10
8+
cooldown:
9+
default-days: 7
810
- package-ecosystem: github-actions
911
directory: "/"
1012
schedule:
1113
interval: daily
1214
open-pull-requests-limit: 10
15+
cooldown:
16+
default-days: 7

.pre-commit-config.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v6.0.0
4-
hooks:
5-
- id: trailing-whitespace
6-
- id: end-of-file-fixer
7-
- id: check-yaml
8-
- id: check-toml
9-
- id: check-merge-conflict
10-
- id: mixed-line-ending
11-
args: [--fix=lf]
12-
- id: check-case-conflict
132
- repo: https://github.com/python-jsonschema/check-jsonschema
143
rev: 0.35.0
154
hooks:
@@ -24,6 +13,7 @@ repos:
2413
rev: v1.16.3
2514
hooks:
2615
- id: zizmor
16+
args: ["--no-progress", "--fix"]
2717
- repo: https://github.com/shellcheck-py/shellcheck-py
2818
rev: v0.11.0.1
2919
hooks:
@@ -45,14 +35,24 @@ repos:
4535
args: [--enable=default-role]
4636
files: ^docs/
4737

38+
- repo: https://github.com/pre-commit/pre-commit-hooks
39+
rev: v6.0.0
40+
hooks:
41+
- id: trailing-whitespace
42+
- id: end-of-file-fixer
43+
- id: check-yaml
44+
- id: check-toml
45+
- id: check-merge-conflict
46+
- id: mixed-line-ending
47+
args: [--fix=lf]
48+
- id: check-case-conflict
49+
4850
# Should be the last:
4951
- repo: meta
5052
hooks:
5153
- id: check-useless-excludes
5254

5355
ci:
54-
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit.com hooks"
5556
autofix_prs: true
56-
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
5757
autoupdate_schedule: weekly
5858
submodules: false

0 commit comments

Comments
 (0)