Skip to content

Commit 4309af8

Browse files
committed
Apply yamllint fixes
1 parent b54752a commit 4309af8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
repos:
23
- repo: https://github.com/pre-commit/pre-commit-hooks
34
rev: v6.0.0
@@ -22,7 +23,7 @@ repos:
2223
rev: v0.14.11
2324
hooks:
2425
- id: ruff-check
25-
args: ["--fix"]
26+
args: [--fix]
2627
- id: ruff-format
2728

2829
- repo: https://github.com/adamchainz/django-upgrade
@@ -41,16 +42,16 @@ repos:
4142
hooks:
4243
# https://check-jsonschema.readthedocs.io/en/stable/precommit_usage.html#check-a-builtin-schema
4344
- id: check-jsonschema
44-
name: "Check GitHub Workflows set timeout-minutes"
45+
name: Check GitHub Workflows set timeout-minutes
4546
files: ^\.github/workflows/[^/]+$
46-
types: [ yaml ]
47-
args: [ "--builtin-schema", "github-workflows-require-timeout" ]
47+
types: [yaml]
48+
args: [--builtin-schema, github-workflows-require-timeout]
4849
- id: check-github-workflows
4950
- id: check-renovate
5051
files: ^renovate.json5$
5152
language: python
5253
additional_dependencies:
53-
- pyjson5==2.0.0
54+
- pyjson5==2.0.0
5455

5556
- repo: https://github.com/renovatebot/pre-commit-hooks
5657
rev: 42.78.2
@@ -63,7 +64,7 @@ repos:
6364
rev: v1.20.0
6465
hooks:
6566
- id: zizmor
66-
args: ["--no-progress", "--persona=auditor"]
67+
args: [--no-progress, --persona=auditor]
6768

6869
# TODO:
6970
# Consider using with yamllint
@@ -74,11 +75,10 @@ repos:
7475
- id: yamlfmt
7576
# TODO: Consider applying to all YAML files
7677
files: .pre-commit-config.yaml
77-
# Matching config for `prek sample-config` output
78-
args: [--mapping, '2', --sequence, '4', --offset, '2']
78+
args: [--mapping, '0', --sequence, '4', --offset, '0']
7979

8080
- repo: https://github.com/codespell-project/codespell
8181
rev: v2.4.1
8282
hooks:
8383
- id: codespell
84-
args: ["--ignore-words-list", "ABL, wast"]
84+
args: [--ignore-words-list, 'ABL, wast']

0 commit comments

Comments
 (0)