pelican-mg/.pre-commit-config.yaml

35 lines
1.1 KiB
YAML
Raw Normal View History

2017-08-10 16:30:29 +00:00
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v0.9.1
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
args:
- --no-markdown-linebreak-ext
- repo: git://github.com/Lucas-C/pre-commit-hooks
sha: v1.0.1
hooks:
- id: remove-crlf
exclude: npp/.*\.xml
- id: remove-tabs
- repo: https://github.com/Lucas-C/pre-commit-hooks-html
2017-08-13 18:36:09 +00:00
sha: v1.3.1
2017-08-10 16:30:29 +00:00
hooks:
- id: validate-html
args:
- --remove-mustaches
- --mustache-remover=jinja2
- --templates-include-dir=templates
- "--ignore=Expected \"<!DOCTYPE html>\""
- "--ignore=Element \"title\" must not be empty"
- "--ignore=Element \"head\" is missing a required instance of child element \"title\""
- "--ignore=The \"itemprop\" attribute was specified, but the element is not a property of any item"
- "--ignore=Bad value \"DUMMY\" for attribute \"datetime\""
exclude: templates/tipue_search.html
- repo: local
hooks:
- id: make
name: make
language: system
entry: make
files: ''