mirror of https://github.com/vladmandic/automatic
parent
b4e5b563c6
commit
78c58e0d70
|
|
@ -13,20 +13,17 @@ repos:
|
|||
rev: v6.0.0
|
||||
hooks:
|
||||
- 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-case-conflict
|
||||
- id: check-illegal-windows-names
|
||||
- id: check-merge-conflict
|
||||
- id: check-symlinks
|
||||
- id: check-yaml
|
||||
- id: check-json
|
||||
- id: check-toml
|
||||
- id: check-xml
|
||||
- id: check-yaml
|
||||
- id: debug-statements
|
||||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
- id: check-executables-have-shebangs
|
||||
|
|
@ -42,7 +39,12 @@ repos:
|
|||
.github/ISSUE_TEMPLATE/.*\.yml
|
||||
)$
|
||||
- repo: https://github.com/oliv5/pre-commit-indents-to-spaces
|
||||
rev: v0.0.1
|
||||
rev: v0.0.3
|
||||
hooks:
|
||||
- id: indents-to-tabs
|
||||
- id: indents-to-spaces
|
||||
args: ["--spaces=4"]
|
||||
types: [python]
|
||||
- id: indents-to-spaces
|
||||
args: ["--spaces=2"]
|
||||
types: [file]
|
||||
files: \.(json|js|mjs|css|html|md|yaml|toml|sh)$
|
||||
|
|
|
|||
Loading…
Reference in New Issue