update precommit

Signed-off-by: vladmandic <mandic00@live.com>
pull/4668/head
vladmandic 2026-02-11 11:12:21 +01:00
parent b4e5b563c6
commit 78c58e0d70
2 changed files with 20 additions and 18 deletions

View File

@ -13,20 +13,17 @@ repos:
rev: v6.0.0 rev: v6.0.0
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-illegal-windows-names
- id: check-merge-conflict
- id: detect-private-key
- id: check-builtin-literals - id: check-builtin-literals
- id: check-case-conflict - id: check-case-conflict
- id: check-illegal-windows-names
- id: check-merge-conflict
- id: check-symlinks - id: check-symlinks
- id: check-yaml
- id: check-json - id: check-json
- id: check-toml - id: check-toml
- id: check-xml - id: check-xml
- id: check-yaml
- id: debug-statements - id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer - id: end-of-file-fixer
- id: mixed-line-ending - id: mixed-line-ending
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
@ -42,7 +39,12 @@ repos:
.github/ISSUE_TEMPLATE/.*\.yml .github/ISSUE_TEMPLATE/.*\.yml
)$ )$
- repo: https://github.com/oliv5/pre-commit-indents-to-spaces - repo: https://github.com/oliv5/pre-commit-indents-to-spaces
rev: v0.0.1 rev: v0.0.3
hooks: hooks:
- id: indents-to-tabs - id: indents-to-spaces
args: ["--spaces=4"] args: ["--spaces=4"]
types: [python]
- id: indents-to-spaces
args: ["--spaces=2"]
types: [file]
files: \.(json|js|mjs|css|html|md|yaml|toml|sh)$