|
1 | 1 | default_language_version:
|
2 |
| - python: python3 |
| 2 | + python: python3 |
3 | 3 |
|
4 | 4 | repos:
|
5 |
| - - repo: https://github.com/pre-commit/pre-commit-hooks |
6 |
| - rev: "v5.0.0" |
7 |
| - hooks: |
8 |
| - - id: check-added-large-files |
9 |
| - args: ["--maxkb=1024"] |
10 |
| - - id: check-case-conflict |
11 |
| - - id: check-docstring-first |
12 |
| - - id: check-executables-have-shebangs |
13 |
| - - id: check-json |
14 |
| - - id: check-merge-conflict |
15 |
| - - id: check-shebang-scripts-are-executable |
16 |
| - - id: check-toml |
17 |
| - - id: check-yaml |
18 |
| - args: ["--allow-multiple-documents"] |
19 |
| - - id: debug-statements |
20 |
| - - id: detect-private-key |
21 |
| - - id: end-of-file-fixer |
22 |
| - exclude_types: [json, sql] |
23 |
| - - id: file-contents-sorter |
24 |
| - files: ^requirements\.txt$ |
25 |
| - args: ["--ignore-case", "--unique"] |
26 |
| - - id: fix-byte-order-marker |
27 |
| - - id: mixed-line-ending |
28 |
| - - id: trailing-whitespace |
| 5 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 6 | + rev: "v5.0.0" |
| 7 | + hooks: |
| 8 | + - id: check-added-large-files |
| 9 | + args: ["--maxkb=1024"] |
| 10 | + - id: check-case-conflict |
| 11 | + - id: check-docstring-first |
| 12 | + - id: check-executables-have-shebangs |
| 13 | + - id: check-json |
| 14 | + - id: check-merge-conflict |
| 15 | + - id: check-shebang-scripts-are-executable |
| 16 | + - id: check-toml |
| 17 | + - id: check-yaml |
| 18 | + args: ["--allow-multiple-documents"] |
| 19 | + - id: debug-statements |
| 20 | + - id: detect-private-key |
| 21 | + - id: end-of-file-fixer |
| 22 | + exclude_types: [json, sql] |
| 23 | + - id: file-contents-sorter |
| 24 | + files: ^requirements\.txt$ |
| 25 | + args: ["--ignore-case", "--unique"] |
| 26 | + - id: fix-byte-order-marker |
| 27 | + - id: mixed-line-ending |
| 28 | + - id: trailing-whitespace |
29 | 29 |
|
30 |
| - - repo: https://github.com/asottile/pyupgrade |
31 |
| - rev: "v3.19.0" |
32 |
| - hooks: |
33 |
| - - id: pyupgrade |
34 |
| - args: [--py312] |
| 30 | + - repo: https://github.com/asottile/pyupgrade |
| 31 | + rev: "v3.19.0" |
| 32 | + hooks: |
| 33 | + - id: pyupgrade |
| 34 | + args: [--py312] |
35 | 35 |
|
36 |
| - - repo: https://github.com/adamchainz/django-upgrade |
37 |
| - rev: "1.22.2" |
38 |
| - hooks: |
39 |
| - - id: django-upgrade |
40 |
| - args: [--target-version, "5.0"] |
| 36 | + - repo: https://github.com/adamchainz/django-upgrade |
| 37 | + rev: "1.22.2" |
| 38 | + hooks: |
| 39 | + - id: django-upgrade |
| 40 | + args: [--target-version, "5.0"] |
41 | 41 |
|
42 |
| - - repo: https://github.com/psf/black |
43 |
| - rev: 24.10.0 |
44 |
| - hooks: |
45 |
| - - id: black |
| 42 | + - repo: https://github.com/psf/black |
| 43 | + rev: 24.10.0 |
| 44 | + hooks: |
| 45 | + - id: black |
46 | 46 |
|
47 |
| - - repo: https://github.com/rbubley/mirrors-prettier |
48 |
| - rev: "v3.4.1" |
49 |
| - hooks: |
50 |
| - - id: prettier |
51 |
| - exclude_types: [html, css, javascript, json, scss] |
| 47 | + - repo: https://github.com/rbubley/mirrors-prettier |
| 48 | + rev: "v3.4.1" |
| 49 | + hooks: |
| 50 | + - id: prettier |
| 51 | + exclude_types: [html, css, javascript, json, scss] |
0 commit comments