|
1 | 1 | exclude: | |
2 | | - (?x)( |
3 | | - ^mpcontribs-portal/mpcontribs/users/| |
4 | | - ^binder/| |
5 | | - ^mpcontribs-ingester/| |
6 | | - ^mpcontribs-api/mpcontribs/api/redox_thermo_csp/ |
7 | | - ) |
| 2 | + (?x)( |
| 3 | + ^mpcontribs-portal/mpcontribs/users/| |
| 4 | + ^binder/| |
| 5 | + ^mpcontribs-ingester/| |
| 6 | + ^mpcontribs-api/mpcontribs/api/redox_thermo_csp/ |
| 7 | + ) |
8 | 8 |
|
9 | 9 | repos: |
10 | | - - repo: https://github.com/pre-commit/pre-commit-hooks |
11 | | - rev: v6.0.0 |
12 | | - hooks: |
13 | | - - id: end-of-file-fixer |
14 | | - - id: trailing-whitespace |
15 | | - - id: check-added-large-files |
16 | | - - id: check-merge-conflict |
17 | | - - id: fix-encoding-pragma |
18 | | - - id: forbid-new-submodules |
19 | | - - id: requirements-txt-fixer |
| 10 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 11 | + rev: v6.0.0 |
| 12 | + hooks: |
| 13 | + - id: end-of-file-fixer |
| 14 | + - id: trailing-whitespace |
| 15 | + - id: check-added-large-files |
| 16 | + - id: check-merge-conflict |
| 17 | + - id: fix-encoding-pragma |
| 18 | + - id: forbid-new-submodules |
| 19 | + - id: requirements-txt-fixer |
20 | 20 |
|
21 | | - - repo: https://github.com/awslabs/cfn-python-lint |
22 | | - rev: v1.40.2 |
23 | | - hooks: |
24 | | - - id: cfn-python-lint |
25 | | - files: cloudformation/.*\.(json|yml|yaml)$ |
26 | | - args: ["--ignore-checks=E3030,E3001,E3002,E3012"] |
| 21 | + - repo: https://github.com/awslabs/cfn-python-lint |
| 22 | + rev: v1.40.3 |
| 23 | + hooks: |
| 24 | + - id: cfn-python-lint |
| 25 | + files: cloudformation/.*\.(json|yml|yaml)$ |
| 26 | + args: ["--ignore-checks=E3030,E3001,E3002,E3012"] |
27 | 27 |
|
28 | | - #- repo: https://gitlab.com/pycqa/flake8 |
29 | | - # rev: 3.7.9 |
30 | | - # hooks: |
31 | | - # - id: flake8 |
32 | | - # args: [--max-line-length=99] |
| 28 | + #- repo: https://gitlab.com/pycqa/flake8 |
| 29 | + # rev: 3.7.9 |
| 30 | + # hooks: |
| 31 | + # - id: flake8 |
| 32 | + # args: [--max-line-length=99] |
33 | 33 |
|
34 | | - - repo: https://github.com/ambv/black |
35 | | - rev: 25.9.0 |
36 | | - hooks: |
| 34 | + - repo: https://github.com/psf/black |
| 35 | + rev: 25.9.0 |
| 36 | + hooks: |
37 | 37 | - id: black |
38 | | - language_version: python3.7 |
0 commit comments