зеркало из https://github.com/microsoft/DeepSpeed.git
35 строки
916 B
YAML
35 строки
916 B
YAML
repos:
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-json
|
|
- id: check-symlinks
|
|
- id: check-yaml
|
|
- id: destroyed-symlinks
|
|
- id: end-of-file-fixer
|
|
exclude: docs/CNAME
|
|
- id: fix-byte-order-marker
|
|
- id: fix-encoding-pragma
|
|
args: [--remove]
|
|
- id: mixed-line-ending
|
|
args: [--fix=lf]
|
|
- id: requirements-txt-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-yapf
|
|
rev: v0.31.0
|
|
hooks:
|
|
- id: yapf
|
|
|
|
- repo: https://gitlab.com/daverona/pre-commit-cpp
|
|
rev: 0.8.0
|
|
hooks:
|
|
- id: clang-format # formatter of C/C++ code based on a style guide: LLVM, Google, Chromium, Mozilla, and WebKit available
|
|
args: []
|