mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Disabling validate-html hook that was crashing
This commit is contained in:
parent
ab4826a57a
commit
63b0405472
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,4 +1,2 @@
|
||||
*.swp
|
||||
*.pyc
|
||||
.sass-cache
|
||||
.ropeproject
|
||||
/node_modules
|
||||
*~~
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user