.pre-commit-config.toml: copy check-merge-conflict and commented args from mikaela.github.io

This commit is contained in:
Aminda Suomalainen 2024-08-04 08:41:48 +03:00
parent ea10cc08b7
commit c82943b61b
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,5 +1,3 @@
# @format
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
# See https://pre-commit.ci for more information # See https://pre-commit.ci for more information
ci: ci:
@ -35,6 +33,7 @@ repos:
- id: destroyed-symlinks - id: destroyed-symlinks
- id: detect-private-key - id: detect-private-key
- id: fix-byte-order-marker - id: fix-byte-order-marker
- id: check-merge-conflict
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=auto] args: [--fix=auto]
- id: pretty-format-json - id: pretty-format-json
@ -62,6 +61,12 @@ repos:
- id: doctoc - id: doctoc
# https://github.com/Mikaela/gist/blob/master/doctoc.txt # https://github.com/Mikaela/gist/blob/master/doctoc.txt
args: [--update-only, --notitle] args: [--update-only, --notitle]
#args: [
# --update-only,
# --title,
# '<em lang="fi">Automaattinen sisällysluettelo</em> / <em
# lang="en">Automatically generated Table of Contents</em>',
# ]
# GitHub Actions etc. configuration validity checking # GitHub Actions etc. configuration validity checking
- repo: https://github.com/python-jsonschema/check-jsonschema - repo: https://github.com/python-jsonschema/check-jsonschema