From aa998d44138a4b6ffb25575e879905116245eb67 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 2 Oct 2016 12:45:38 +0100 Subject: [PATCH] add yaml linter --- Makefile | 1 + config/config.yml | 2 ++ requirements.txt | 1 + 3 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 877f612..4c6fe63 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ lint: $(ENV)/flake8 $(BASEDIR)/scripts/ $(FLAKE8_IGNORE) $(ENV)/flake8 $(BASEDIR)/config/ $(FLAKE8_IGNORE) $(ENV)/flake8 $(BASEDIR)/tests/ $(FLAKE8_IGNORE) + $(ENV)/yamllint config/config.yml spellcheck: $(NODE_BIN)/mdspell --en-gb -ranx theme/templates/**/*.* theme/templates/*.* diff --git a/config/config.yml b/config/config.yml index 8ca4989..e4870fe 100644 --- a/config/config.yml +++ b/config/config.yml @@ -1,3 +1,5 @@ +--- + author: Jake Howard site_name: TheOrangeOne url: https://theorangeone.net diff --git a/requirements.txt b/requirements.txt index 5fff074..e41974e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,3 +13,4 @@ pygments-style-github==0.4 python-resize-image==1.1.3 pyyaml==3.12 sh==1.11 +yamllint==1.4.1