mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-21 18:59:22 +01:00
.pre-commit-config.yaml: import hooks from shell-things
This commit is contained in:
parent
8c837a8897
commit
14e39c2efc
@ -13,7 +13,7 @@ default_language_version:
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
@ -29,7 +29,25 @@ repos:
|
||||
# configuration exports.
|
||||
exclude: ^LICENSES\/.*|LICENSE|associations\/.*|.*\.conf$$
|
||||
# File types depending on trailing whitespace. Use identify-cli
|
||||
exclude_types: [tsv, markdown]
|
||||
exclude_types:
|
||||
[tsv, markdown]
|
||||
#- id: check-docstring-first
|
||||
#- id: check-json
|
||||
- id: check-merge-conflict
|
||||
- id: check-toml
|
||||
- id: check-xml
|
||||
#- id: debug-statements
|
||||
#- id: fix-encoding-pragma
|
||||
#args: [--remove]
|
||||
- id: mixed-line-ending
|
||||
args:
|
||||
[--fix=auto]
|
||||
#- id: pretty-format-json
|
||||
#- id: requirements-txt-fixer
|
||||
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
||||
rev: v1.6.1
|
||||
hooks:
|
||||
- id: check-pre-commit-ci-config
|
||||
|
||||
- repo: https://github.com/thlorenz/doctoc
|
||||
rev: v2.2.0
|
||||
|
Loading…
Reference in New Issue
Block a user