Disabling validate-html hook that was crashing

This commit is contained in:
Lucas Cimon 2017-11-30 02:44:55 +01:00
parent ab4826a57a
commit 63b0405472
No known key found for this signature in database
GPG Key ID: 6AF36E0DE97FE852
3 changed files with 5 additions and 27 deletions

6
.gitignore vendored
View File

@ -1,4 +1,2 @@
*.swp
*.pyc
.sass-cache
.ropeproject
/node_modules
*~~

View File

@ -1,36 +1,16 @@
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v0.9.1
sha: v1.1.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
sha: v1.1.4
hooks:
- id: remove-crlf
exclude: npp/.*\.xml
- id: remove-tabs
- repo: https://github.com/Lucas-C/pre-commit-hooks-html
sha: v1.3.5
hooks:
- id: validate-html
args:
- --remove-mustaches
- --mustache-remover=jinja2
- --mustache-remover-env
- SUPPORTS
- "[('name', 'link', 'logo_url', 'title')]"
- --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\""
- "--ignore=Bad value \"DUMMY\" for attribute \"lang\" on element \"html\""
- "--ignore=Bad value \"DUMMY\" for attribute \"type\" on element \"link\": Subtype missing"
files: ^templates/[^/]*\.html$
exclude: ^templates/(index|tipue_search)\.html$
- repo: local
hooks:
- id: eslint

View File

@ -11,7 +11,7 @@ git clone https://github.com/Lucas-C/ludochaordic.git
cd ludochaordic
pip install pelican markdown beautifulsoup4 pillow
make DEBUG=1 OUTPUTDIR=output devserver
make DEBUG=1 OUTPUTDIR=output html
csslint --ignore=order-alphabetical output/theme/css/main.css