1
Fork 0

add yaml linter

This commit is contained in:
Jake Howard 2016-10-02 12:45:38 +01:00
parent 948238a689
commit aa998d4413
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 4 additions and 0 deletions

View file

@ -59,6 +59,7 @@ lint:
$(ENV)/flake8 $(BASEDIR)/scripts/ $(FLAKE8_IGNORE) $(ENV)/flake8 $(BASEDIR)/scripts/ $(FLAKE8_IGNORE)
$(ENV)/flake8 $(BASEDIR)/config/ $(FLAKE8_IGNORE) $(ENV)/flake8 $(BASEDIR)/config/ $(FLAKE8_IGNORE)
$(ENV)/flake8 $(BASEDIR)/tests/ $(FLAKE8_IGNORE) $(ENV)/flake8 $(BASEDIR)/tests/ $(FLAKE8_IGNORE)
$(ENV)/yamllint config/config.yml
spellcheck: spellcheck:
$(NODE_BIN)/mdspell --en-gb -ranx theme/templates/**/*.* theme/templates/*.* $(NODE_BIN)/mdspell --en-gb -ranx theme/templates/**/*.* theme/templates/*.*

View file

@ -1,3 +1,5 @@
---
author: Jake Howard author: Jake Howard
site_name: TheOrangeOne site_name: TheOrangeOne
url: https://theorangeone.net url: https://theorangeone.net

View file

@ -13,3 +13,4 @@ pygments-style-github==0.4
python-resize-image==1.1.3 python-resize-image==1.1.3
pyyaml==3.12 pyyaml==3.12
sh==1.11 sh==1.11
yamllint==1.4.1