mirror of https://github.com/vladmandic/automatic
parent
b4e5b563c6
commit
78c58e0d70
|
|
@ -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)$
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue