|
1 | 1 | repos:
|
2 |
| -- repo: https://github.com/pre-commit/pre-commit-hooks |
3 |
| - rev: 'v4.5.0' |
4 |
| - hooks: |
5 |
| - - id: check-case-conflict |
6 |
| - - id: check-symlinks |
7 |
| - - id: debug-statements |
8 |
| - - id: destroyed-symlinks |
9 |
| - - id: detect-private-key |
10 |
| - - id: end-of-file-fixer |
11 |
| - - id: mixed-line-ending |
12 |
| - args: |
13 |
| - - --fix=lf |
14 |
| - - id: trailing-whitespace |
15 |
| - args: |
16 |
| - - --markdown-linebreak-ext=md |
17 |
| -- repo: https://github.com/codespell-project/codespell |
18 |
| - rev: 'v2.2.4' |
19 |
| - hooks: |
20 |
| - - id: codespell |
21 |
| -- repo: https://github.com/pre-commit/mirrors-clang-format |
22 |
| - rev: 'v15.0.7' |
23 |
| - hooks: |
24 |
| - - id: clang-format |
25 |
| - types_or: |
26 |
| - - c |
27 |
| - - c++ |
28 |
| -- repo: https://github.com/psf/black-pre-commit-mirror |
29 |
| - rev: '22.10.0' |
30 |
| - hooks: |
31 |
| - - id: black |
32 |
| - language_version: python3.8 |
33 |
| - args: |
34 |
| - - --line-length=120 #From the arduino code style. Add as argument rather than creating a new config file. |
35 |
| -- repo: https://github.com/PyCQA/flake8 |
36 |
| - rev: '7.0.0' |
37 |
| - hooks: |
38 |
| - - id: flake8 |
39 |
| - types_or: |
40 |
| - - python |
41 |
| - additional_dependencies: |
42 |
| - - flake8-bugbear |
43 |
| - - flake8-comprehensions |
44 |
| - - flake8-simplify |
45 |
| -- repo: https://github.com/pre-commit/mirrors-prettier |
46 |
| - rev: 'v3.1.0' |
47 |
| - hooks: |
48 |
| - - id: prettier |
49 |
| - types_or: |
50 |
| - - yaml |
51 |
| -- repo: https://github.com/adrienverge/yamllint |
52 |
| - rev: 'v1.33.0' |
53 |
| - hooks: |
54 |
| - - id: yamllint |
55 |
| - types_or: |
56 |
| - - yaml |
| 2 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + rev: "v4.5.0" |
| 4 | + hooks: |
| 5 | + - id: check-case-conflict |
| 6 | + - id: check-symlinks |
| 7 | + - id: debug-statements |
| 8 | + - id: destroyed-symlinks |
| 9 | + - id: detect-private-key |
| 10 | + - id: end-of-file-fixer |
| 11 | + - id: mixed-line-ending |
| 12 | + args: |
| 13 | + - --fix=lf |
| 14 | + - id: trailing-whitespace |
| 15 | + args: |
| 16 | + - --markdown-linebreak-ext=md |
| 17 | + - repo: https://github.com/codespell-project/codespell |
| 18 | + rev: "v2.2.4" |
| 19 | + hooks: |
| 20 | + - id: codespell |
| 21 | + - repo: https://github.com/pre-commit/mirrors-clang-format |
| 22 | + rev: "v15.0.7" |
| 23 | + hooks: |
| 24 | + - id: clang-format |
| 25 | + types_or: |
| 26 | + - c |
| 27 | + - c++ |
| 28 | + - repo: https://github.com/psf/black-pre-commit-mirror |
| 29 | + rev: "22.10.0" |
| 30 | + hooks: |
| 31 | + - id: black |
| 32 | + language_version: python3.8 |
| 33 | + args: |
| 34 | + - --line-length=120 #From the arduino code style. Add as argument rather than creating a new config file. |
| 35 | + - repo: https://github.com/PyCQA/flake8 |
| 36 | + rev: "7.0.0" |
| 37 | + hooks: |
| 38 | + - id: flake8 |
| 39 | + types_or: |
| 40 | + - python |
| 41 | + additional_dependencies: |
| 42 | + - flake8-bugbear |
| 43 | + - flake8-comprehensions |
| 44 | + - flake8-simplify |
| 45 | + - repo: https://github.com/pre-commit/mirrors-prettier |
| 46 | + rev: "v3.1.0" |
| 47 | + hooks: |
| 48 | + - id: prettier |
| 49 | + types_or: |
| 50 | + - yaml |
| 51 | + - repo: https://github.com/adrienverge/yamllint |
| 52 | + rev: "v1.33.0" |
| 53 | + hooks: |
| 54 | + - id: yamllint |
| 55 | + types_or: |
| 56 | + - yaml |
0 commit comments