Style update yaml files
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
a924bda835
commit
cc4c1fccb0
|
@ -11,7 +11,7 @@ check-commits:
|
||||||
stage: test
|
stage: test
|
||||||
image: registry.gitlab.com/kernel-firmware/linux-firmware
|
image: registry.gitlab.com/kernel-firmware/linux-firmware
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_MERGE_REQUEST_ID
|
- if: $CI_MERGE_REQUEST_ID
|
||||||
script:
|
script:
|
||||||
- ci-fairy check-commits --signed-off-by --textwidth=0
|
- ci-fairy check-commits --signed-off-by --textwidth=0
|
||||||
|
|
||||||
|
|
|
@ -1,30 +1,30 @@
|
||||||
default_stages: [commit]
|
default_stages: [commit]
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.0.1
|
rev: v4.0.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
- id: forbid-new-submodules
|
- id: forbid-new-submodules
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: check-symlinks
|
- id: check-symlinks
|
||||||
- id: destroyed-symlinks
|
- id: destroyed-symlinks
|
||||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
rev: v0.9.0.5
|
rev: v0.9.0.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
- repo: https://github.com/ambv/black
|
- repo: https://github.com/ambv/black
|
||||||
rev: 22.6.0
|
rev: 22.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.33.0
|
rev: v0.33.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args: ['--fix']
|
args: ['--fix']
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-whence
|
- id: check-whence
|
||||||
name: Check whence
|
name: Check whence
|
||||||
files: 'WHENCE'
|
files: 'WHENCE'
|
||||||
language: script
|
language: script
|
||||||
entry: ./check_whence.py
|
entry: ./check_whence.py
|
||||||
|
|
Loading…
Reference in New Issue