diff options
-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 |