mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 19:29:22 +01:00
.pre-commit-config.yaml: add commented hooks from scripts repo
This commit is contained in:
parent
584bfe2d32
commit
ef4d2b37fa
@ -31,7 +31,19 @@ repos:
|
|||||||
exclude: ^LICENSES\/.*|LICENSE$
|
exclude: ^LICENSES\/.*|LICENSE$
|
||||||
# File types depending on trailing whitespace. Use identify-cli
|
# File types depending on trailing whitespace. Use identify-cli
|
||||||
exclude_types: [svg, markdown, tsv]
|
exclude_types: [svg, markdown, tsv]
|
||||||
|
#- 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
|
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
||||||
rev: v1.6.1
|
rev: v1.6.1
|
||||||
hooks:
|
hooks:
|
||||||
@ -50,7 +62,18 @@ repos:
|
|||||||
# rev: "v1.3.0"
|
# rev: "v1.3.0"
|
||||||
# hooks:
|
# hooks:
|
||||||
# - id: mypy
|
# - id: mypy
|
||||||
|
# - repo: https://github.com/asottile/pyupgrade
|
||||||
|
# rev: v3.15.0
|
||||||
|
# hooks:
|
||||||
|
# - id: pyupgrade
|
||||||
|
# - repo: https://github.com/asottile/reorder-python-imports
|
||||||
|
# rev: v3.12.0
|
||||||
|
# hooks:
|
||||||
|
# - id: reorder-python-imports
|
||||||
|
# - repo: https://github.com/asottile/add-trailing-comma
|
||||||
|
# rev: v3.1.0
|
||||||
|
# hooks:
|
||||||
|
# - id: add-trailing-comma
|
||||||
# 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
|
||||||
rev: 0.27.0
|
rev: 0.27.0
|
||||||
|
Loading…
Reference in New Issue
Block a user