.pre-commit-config.yaml 405 Bytes
Newer Older
Pan,Huiwen's avatar
Pan,Huiwen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v1.2.3
    hooks:
    -   id: trailing-whitespace
        exclude: "Megatron-LM/"
    -   id: check-yaml
        exclude: "Megatron-LM/"
    -   id: end-of-file-fixer
        exclude: "Megatron-LM/"


-   repo: https://github.com/pre-commit/mirrors-yapf
    rev: v0.29.0
    hooks:
    -   id: yapf
        exclude: "Megatron-LM/"