mirror of https://github.com/llvm/torch-mlir
Add `.yamllint` and disable some annoying recurring warnings on every pr (#3224)
parent
33eef15e42
commit
0a2d21b108
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
# These do not appear to be conventional in GitHub actions.
|
||||
document-end:
|
||||
present: false
|
||||
document-start:
|
||||
present: false
|
||||
# GitHub actions use "on" for triggers.
|
||||
truthy: disable
|
||||
# We have lots of long strings and command lines.
|
||||
line-length: disable
|
||||
comments:
|
||||
# Formatters may do this (e.g. Prettier does) and it seems like the most
|
||||
# trivial thing to get a failing check for.
|
||||
min-spaces-from-content: 1
|
||||
# This is not a useful check, especially when disabling entire blocks.
|
||||
comments-indentation: disable
|
||||
|
||||
ignore: /third_party/*
|
Loading…
Reference in New Issue