add yaml linter
This commit is contained in:
parent
948238a689
commit
aa998d4413
3 changed files with 4 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -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/*.*
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
---
|
||||||
|
|
||||||
author: Jake Howard
|
author: Jake Howard
|
||||||
site_name: TheOrangeOne
|
site_name: TheOrangeOne
|
||||||
url: https://theorangeone.net
|
url: https://theorangeone.net
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue