|
1 | 1 | repos: |
| 2 | +- repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + rev: v4.6.0 |
| 4 | + hooks: |
| 5 | + - id: check-added-large-files |
| 6 | + args: [--maxkb=50000] |
| 7 | + - id: mixed-line-ending |
| 8 | + args: [--fix=lf] |
| 9 | + - id: check-ast |
| 10 | + - id: check-builtin-literals |
| 11 | + - id: check-case-conflict |
| 12 | + - id: check-docstring-first |
| 13 | + - id: check-shebang-scripts-are-executable |
| 14 | + - id: check-merge-conflict |
| 15 | + - id: check-json |
| 16 | + - id: check-toml |
| 17 | + - id: check-xml |
| 18 | + - id: check-yaml |
| 19 | + - id: debug-statements |
| 20 | + - id: destroyed-symlinks |
| 21 | + - id: detect-private-key |
| 22 | + - id: end-of-file-fixer |
| 23 | + exclude: ^LICENSE|\.(html|csv|txt|svg|py)$ |
| 24 | + - id: pretty-format-json |
| 25 | + args: [--autofix, --no-ensure-ascii, --no-sort-keys] |
| 26 | + - id: trailing-whitespace |
| 27 | + args: [--markdown-linebreak-ext=md] |
| 28 | + exclude: \.(html|svg)$ |
| 29 | + |
| 30 | +- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks |
| 31 | + rev: v2.14.0 |
| 32 | + hooks: |
| 33 | + - id: pretty-format-yaml |
| 34 | + args: [--autofix, --indent, '2'] |
| 35 | + |
2 | 36 | - repo: https://github.com/bwhmather/ssort |
3 | 37 | rev: 0.13.0 |
4 | 38 | hooks: |
@@ -60,40 +94,6 @@ repos: |
60 | 94 | - id: pyproject-fmt |
61 | 95 | name: Apply a consistent format to pyproject.toml |
62 | 96 |
|
63 | | -- repo: https://github.com/pre-commit/pre-commit-hooks |
64 | | - rev: v4.6.0 |
65 | | - hooks: |
66 | | - - id: check-added-large-files |
67 | | - args: [--maxkb=50000] |
68 | | - - id: mixed-line-ending |
69 | | - args: [--fix=lf] |
70 | | - - id: check-ast |
71 | | - - id: check-builtin-literals |
72 | | - - id: check-case-conflict |
73 | | - - id: check-docstring-first |
74 | | - - id: check-shebang-scripts-are-executable |
75 | | - - id: check-merge-conflict |
76 | | - - id: check-json |
77 | | - - id: check-toml |
78 | | - - id: check-xml |
79 | | - - id: check-yaml |
80 | | - - id: debug-statements |
81 | | - - id: destroyed-symlinks |
82 | | - - id: detect-private-key |
83 | | - - id: end-of-file-fixer |
84 | | - exclude: ^LICENSE|\.(html|csv|txt|svg|py)$ |
85 | | - - id: pretty-format-json |
86 | | - args: [--autofix, --no-ensure-ascii, --no-sort-keys] |
87 | | - - id: trailing-whitespace |
88 | | - args: [--markdown-linebreak-ext=md] |
89 | | - exclude: \.(html|svg)$ |
90 | | - |
91 | | -- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks |
92 | | - rev: v2.14.0 |
93 | | - hooks: |
94 | | - - id: pretty-format-yaml |
95 | | - args: [--autofix, --indent, '2'] |
96 | | - |
97 | 97 | - repo: https://github.com/rhysd/actionlint |
98 | 98 | rev: v1.7.1 |
99 | 99 | hooks: |
|
0 commit comments