|
1 | | -repos: |
2 | | - - repo: https://github.com/pre-commit/pre-commit-hooks |
3 | | - rev: v4.1.0 |
4 | | - hooks: |
5 | | - - id: requirements-txt-fixer |
6 | | - name: Requirements |
7 | | - types: [file] |
8 | | - exclude_types: ['image'] |
9 | | - - id: debug-statements |
10 | | - name: Debugging |
11 | | - language: python |
12 | | - types: [file, python] |
13 | | - exclude_types: ['image'] |
14 | | - - id: trailing-whitespace |
15 | | - name: Trailing Whitespace |
16 | | - language: python |
17 | | - types: [file] |
18 | | - exclude_types: ['image'] |
19 | | - - id: end-of-file-fixer |
20 | | - name: EOF Newlines |
21 | | - language: python |
22 | | - types: [file] |
23 | | - exclude_types: ['image'] |
24 | | - - id: check-yaml |
25 | | - name: YAML Structure |
26 | | - language: python |
27 | | - - id: check-toml |
28 | | - name: TOML Structure |
29 | | - - id: check-merge-conflict |
30 | | - name: Merge Conflicts |
31 | | - - repo: https://github.com/psf/black |
32 | | - rev: 22.1.0 |
33 | | - hooks: |
34 | | - - id: black |
35 | | - name: Black Formatting |
36 | | - language: python |
37 | | - types: [file, python] |
38 | | - args: [--line-length=100] |
39 | | - - repo: https://github.com/PyCQA/flake8 |
40 | | - rev: 4.0.1 |
41 | | - hooks: |
42 | | - - id: flake8 |
43 | | - name: flake8 Formatting |
44 | | - language: python |
45 | | - types: [file, python] |
46 | | - args: [--max-line-length=100, --ignore=E203 E301 E302 E501 E402 E704 W503 W504] |
47 | | - - repo: https://github.com/pycqa/isort |
48 | | - rev: 5.10.1 |
49 | | - hooks: |
50 | | - - id: isort |
51 | | - name: isort Formatting |
52 | | - language: python |
53 | | - types: [file, python] |
54 | | -ci: |
55 | | - autoupdate_branch: "unstable" |
56 | | - autofix_prs: true |
57 | | - autoupdate_commit_msg: "ci: weekly check." |
58 | | - autoupdate_schedule: weekly |
59 | | - autofix_commit_msg: "ci: correct from checks." |
| 1 | +repos: |
| 2 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + rev: v4.1.0 |
| 4 | + hooks: |
| 5 | + - id: requirements-txt-fixer |
| 6 | + name: Requirements |
| 7 | + types: [file] |
| 8 | + exclude_types: ['image'] |
| 9 | + - id: debug-statements |
| 10 | + name: Debugging |
| 11 | + language: python |
| 12 | + types: [file, python] |
| 13 | + exclude_types: ['image'] |
| 14 | + - id: trailing-whitespace |
| 15 | + name: Trailing Whitespace |
| 16 | + language: python |
| 17 | + types: [file] |
| 18 | + exclude_types: ['image'] |
| 19 | + - id: end-of-file-fixer |
| 20 | + name: EOF Newlines |
| 21 | + language: python |
| 22 | + types: [file] |
| 23 | + exclude_types: ['image'] |
| 24 | + - id: check-yaml |
| 25 | + name: YAML Structure |
| 26 | + language: python |
| 27 | + - id: check-toml |
| 28 | + name: TOML Structure |
| 29 | + - id: check-merge-conflict |
| 30 | + name: Merge Conflicts |
| 31 | + - repo: https://github.com/psf/black |
| 32 | + rev: 22.1.0 |
| 33 | + hooks: |
| 34 | + - id: black |
| 35 | + name: Black Formatting |
| 36 | + language: python |
| 37 | + types: [file, python] |
| 38 | + args: [--line-length=100] |
| 39 | + - repo: https://github.com/PyCQA/flake8 |
| 40 | + rev: 4.0.1 |
| 41 | + hooks: |
| 42 | + - id: flake8 |
| 43 | + name: flake8 Formatting |
| 44 | + language: python |
| 45 | + types: [file, python] |
| 46 | + args: [--max-line-length=100, --ignore=E203 E301 E302 E501 E402 E704 W503 W504] |
| 47 | + - repo: https://github.com/pycqa/isort |
| 48 | + rev: 5.10.1 |
| 49 | + hooks: |
| 50 | + - id: isort |
| 51 | + name: isort Formatting |
| 52 | + language: python |
| 53 | + types: [file, python] |
| 54 | +ci: |
| 55 | + autoupdate_branch: "unstable" |
| 56 | + autofix_prs: true |
| 57 | + autoupdate_commit_msg: "ci: weekly check." |
| 58 | + autoupdate_schedule: weekly |
| 59 | + autofix_commit_msg: "ci: correct from checks." |
0 commit comments