mirror of https://github.com/llvm/torch-mlir
22 lines
627 B
YAML
22 lines
627 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
exclude: "GeneratedTorchOps\\.td|abstract_interp_lib_gen\\.py|\\.excalidraw|\\.ipynb"
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-ast
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.10.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
rev: 'v18.1.4'
|
|
hooks:
|
|
- id: clang-format
|