|
1 | | -# See https://pre-commit.com for more information |
2 | | -# See https://pre-commit.com/hooks.html for more hooks |
3 | | - |
4 | 1 | repos: |
| 2 | + - repo: 'https://github.com/adrienverge/yamllint' |
| 3 | + rev: 'v1.38.0' |
| 4 | + hooks: |
| 5 | + - id: 'yamllint' |
| 6 | + args: ['-c=.yamllint.yml'] |
| 7 | + files: '\.(yaml|yml)$' |
| 8 | + types: ['file', 'yaml'] |
| 9 | + entry: 'yamllint' |
| 10 | + |
5 | 11 | - repo: 'https://github.com/pre-commit/pre-commit-hooks' |
6 | | - rev: 'v4.6.0' |
| 12 | + rev: 'v6.0.0' |
7 | 13 | hooks: |
8 | | - - id: 'trailing-whitespace' |
9 | | - - id: 'end-of-file-fixer' |
10 | 14 | - id: 'check-added-large-files' |
| 15 | + - id: 'check-ast' |
| 16 | + - id: 'fix-byte-order-marker' |
11 | 17 | - id: 'check-case-conflict' |
12 | 18 | - id: 'check-executables-have-shebangs' |
13 | 19 | - id: 'check-json' |
| 20 | + - id: 'check-merge-conflict' |
14 | 21 | - id: 'check-yaml' |
15 | 22 | args: ['--unsafe'] |
16 | | - - id: 'detect-private-key' |
17 | | - - id: 'check-ast' |
18 | | - - id: 'check-byte-order-marker' |
19 | | - - id: 'check-merge-conflict' |
20 | 23 | - id: 'debug-statements' |
| 24 | + - id: 'detect-private-key' |
| 25 | + - id: 'end-of-file-fixer' |
21 | 26 | - id: 'mixed-line-ending' |
22 | | - |
23 | | - # - repo: 'https://github.com/pycqa/isort' |
24 | | - # rev: '5.10.1' |
25 | | - # hooks: |
26 | | - # - id: 'isort' |
27 | | - |
28 | | - - repo: 'https://github.com/adrienverge/yamllint.git' |
29 | | - rev: 'v1.35.1' |
30 | | - hooks: |
31 | | - - id: 'yamllint' |
32 | | - args: ['-c=.yamllint.yml'] |
33 | | - files: '\.(yaml|yml)$' |
34 | | - types: ['file', 'yaml'] |
35 | | - entry: 'yamllint' |
36 | | - |
37 | | -# - repo: 'local' |
38 | | -# hooks: |
39 | | -# - id: 'pylint' |
40 | | -# name: 'pylint' |
41 | | -# entry: 'pylint' |
42 | | -# language: 'system' |
43 | | -# types: [python] |
44 | | -# args: |
45 | | -# [ |
46 | | -# "-rn", # Only display messages |
47 | | -# "-sn", # Don't display the score |
48 | | -# "--disable=C0103,C0114,C0116,C0301", |
49 | | -# ] |
| 27 | + - id: 'trailing-whitespace' |
0 commit comments