summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2022-07-12 21:10:52 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2022-07-12 21:10:52 +0200
commit12a06bf717effe21973953f30771a56c74130621 (patch)
tree0dc707136c45cc8e4fb7c4d7cfaeb11ca06e03dd
parent843eb98f2f726ab5775988a3c1a7b2013b753cfe (diff)
parent31e76073e48325598fe808e300e3efd09c3030f3 (diff)
downloadcherrypy-git-12a06bf717effe21973953f30771a56c74130621.tar.gz
Merge branch 'maintenance/yamllint-compliance'
-rw-r--r--.pre-commit-config.yaml9
-rw-r--r--.readthedocs.yml4
-rw-r--r--.yamllint6
3 files changed, 15 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a44f278c..0c75d0b0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -59,3 +59,12 @@ repos:
rev: v1.1.0
hooks:
- id: forbid-html-img-without-alt-text
+
+- repo: https://github.com/adrienverge/yamllint.git
+ rev: v1.27.1
+ hooks:
+ - id: yamllint
+ files: \.(yaml|yml)$
+ types: [file, yaml]
+ args:
+ - --strict
diff --git a/.readthedocs.yml b/.readthedocs.yml
index ee2c84c4..3eb1a2b4 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -3,6 +3,6 @@ build:
python:
version: 3.6
extra_requirements:
- - docs
- - testing
+ - docs
+ - testing
pip_install: true
diff --git a/.yamllint b/.yamllint
index 97c08cfc..434c9f9b 100644
--- a/.yamllint
+++ b/.yamllint
@@ -1,2 +1,4 @@
-indentation:
- indent-sequences: false
+rules:
+ indentation:
+ level: error
+ indent-sequences: false