diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2022-07-12 21:10:52 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2022-07-12 21:10:52 +0200 |
commit | 12a06bf717effe21973953f30771a56c74130621 (patch) | |
tree | 0dc707136c45cc8e4fb7c4d7cfaeb11ca06e03dd | |
parent | 843eb98f2f726ab5775988a3c1a7b2013b753cfe (diff) | |
parent | 31e76073e48325598fe808e300e3efd09c3030f3 (diff) | |
download | cherrypy-git-12a06bf717effe21973953f30771a56c74130621.tar.gz |
Merge branch 'maintenance/yamllint-compliance'
-rw-r--r-- | .pre-commit-config.yaml | 9 | ||||
-rw-r--r-- | .readthedocs.yml | 4 | ||||
-rw-r--r-- | .yamllint | 6 |
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 @@ -1,2 +1,4 @@ -indentation: - indent-sequences: false +rules: + indentation: + level: error + indent-sequences: false |