Unverified Commit e0c34e7b authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] add yaml files linter to pre-commit hook but skip some rules for now (Part 1) (#6763)


Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
parent 0be894db
......@@ -17,6 +17,11 @@ repos:
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
args: ["--strict"]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.3
......
# default config: https://yamllint.readthedocs.io/en/stable/configuration.html#default-configuration
extends: default
rules:
document-start: disable
line-length:
max: 999 # temporarily increase allowed line length
truthy:
# prevent treating GitHub Workflow "on" key as boolean value
check-keys: false
# temporarily disabled rules
indentation: disable
comments-indentation: disable
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment