|
1 | 1 | repos: |
2 | | -- repo: https://github.com/pre-commit/pre-commit-hooks |
3 | | - rev: v4.0.1 |
4 | | - hooks: |
5 | | - - id: check-added-large-files |
6 | | - args: ['--maxkb=700'] |
7 | | - - id: check-ast |
8 | | - - id: check-builtin-literals |
9 | | - - id: check-case-conflict |
10 | | - - id: check-docstring-first |
11 | | - - id: check-executables-have-shebangs |
12 | | - - id: check-json |
13 | | - - id: check-merge-conflict |
14 | | - - id: check-symlinks |
15 | | - - id: check-toml |
16 | | - - id: check-vcs-permalinks |
17 | | - - id: check-xml |
18 | | - - id: check-yaml |
19 | | - - id: debug-statements |
20 | | - - id: destroyed-symlinks |
21 | | - - id: detect-aws-credentials |
22 | | - args: ['--allow-missing-credentials'] |
23 | | - - id: detect-private-key |
24 | | - - id: double-quote-string-fixer |
25 | | - - id: end-of-file-fixer |
26 | | - - id: fix-byte-order-marker |
27 | | - - id: fix-encoding-pragma |
28 | | - - id: mixed-line-ending |
29 | | - args: ['--fix=lf'] |
30 | | - description: Forces to replace line ending by the UNIX 'lf' character. |
31 | | - - id: pretty-format-json |
32 | | - args: ['--autofix', '--indent=2'] |
33 | | - - id: requirements-txt-fixer |
34 | | - - id: sort-simple-yaml |
35 | | - - id: trailing-whitespace |
36 | | - - id: no-commit-to-branch |
37 | | - args: [--branch, master, --branch, main] |
38 | | -- repo: git://github.com/johncblandii/pre-commit-makefile |
39 | | - rev: 261f8fb4b31dfdc05d1a1d7fbde1f1462ecde66d |
40 | | - hooks: |
41 | | - - id: makefile-doc |
42 | | -- repo: meta |
43 | | - hooks: |
44 | | - - id: check-useless-excludes |
45 | | -- repo: https://github.com/gruntwork-io/pre-commit |
46 | | -# Get the latest from: https://github.com/gruntwork-io/pre-commit/releases |
47 | | - rev: v0.1.12 |
48 | | - hooks: |
49 | | - - id: shellcheck |
50 | | -- repo: https://github.com/asottile/reorder_python_imports |
51 | | - rev: v2.6.0 |
52 | | - hooks: |
53 | | - - id: reorder-python-imports |
54 | | - language_version: python3 |
55 | | -- repo: https://github.com/Yelp/detect-secrets |
56 | | - rev: v1.1.0 |
57 | | - hooks: |
58 | | - - id: detect-secrets |
59 | | - args: ['--baseline', '.secrets.baseline'] |
60 | | - exclude: .pre-commit-config.yaml |
61 | | -- repo: https://github.com/markdownlint/markdownlint |
62 | | - rev: v0.11.0 |
63 | | - hooks: |
64 | | - - id: markdownlint |
65 | | - name: Markdownlint |
66 | | - description: Run markdownlint on your Markdown files |
67 | | - entry: mdl |
68 | | - language: ruby |
69 | | - files: \.(md|mdown|markdown)$ |
70 | | -- repo: https://github.com/adrienverge/yamllint.git |
71 | | - rev: v1.26.3 |
72 | | - hooks: |
73 | | - - id: yamllint |
74 | | - files: \.(yaml|yml)$ |
75 | | - types: [file, yaml] |
76 | | - entry: 'yamllint --strict' |
77 | | -- repo: https://github.com/thlorenz/doctoc |
78 | | - rev: v2.0.1 |
79 | | - hooks: |
80 | | - - id: doctoc |
81 | | - args: ['--title=**Table of Contents**'] |
82 | | - descripiton: 'Generates table of contents for markdown files' |
83 | | -- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook |
84 | | - rev: v5.0.0 |
85 | | - hooks: |
86 | | - - id: commitlint |
87 | | - stages: [commit-msg] |
88 | | - additional_dependencies: ["@commitlint/config-conventional"] |
| 2 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + rev: v4.0.1 |
| 4 | + hooks: |
| 5 | + - id: check-added-large-files |
| 6 | + args: ["--maxkb=700"] |
| 7 | + - id: check-ast |
| 8 | + - id: check-builtin-literals |
| 9 | + - id: check-case-conflict |
| 10 | + - id: check-docstring-first |
| 11 | + - id: check-executables-have-shebangs |
| 12 | + - id: check-json |
| 13 | + - id: check-merge-conflict |
| 14 | + - id: check-symlinks |
| 15 | + - id: check-toml |
| 16 | + - id: check-vcs-permalinks |
| 17 | + - id: check-xml |
| 18 | + - id: check-yaml |
| 19 | + - id: debug-statements |
| 20 | + - id: destroyed-symlinks |
| 21 | + - id: detect-aws-credentials |
| 22 | + args: ["--allow-missing-credentials"] |
| 23 | + - id: detect-private-key |
| 24 | + - id: double-quote-string-fixer |
| 25 | + - id: end-of-file-fixer |
| 26 | + - id: fix-byte-order-marker |
| 27 | + - id: fix-encoding-pragma |
| 28 | + - id: mixed-line-ending |
| 29 | + args: ["--fix=lf"] |
| 30 | + description: Forces to replace line ending by the UNIX 'lf' character. |
| 31 | + - id: pretty-format-json |
| 32 | + args: ["--autofix", "--indent=2"] |
| 33 | + - id: requirements-txt-fixer |
| 34 | + - id: sort-simple-yaml |
| 35 | + - id: trailing-whitespace |
| 36 | + - id: no-commit-to-branch |
| 37 | + args: [--branch, master, --branch, main] |
| 38 | + - repo: git://github.com/johncblandii/pre-commit-makefile |
| 39 | + rev: 261f8fb4b31dfdc05d1a1d7fbde1f1462ecde66d |
| 40 | + hooks: |
| 41 | + - id: makefile-doc |
| 42 | + - repo: meta |
| 43 | + hooks: |
| 44 | + - id: check-useless-excludes |
| 45 | + - repo: https://github.com/gruntwork-io/pre-commit |
| 46 | + # Get the latest from: https://github.com/gruntwork-io/pre-commit/releases |
| 47 | + rev: v0.1.12 |
| 48 | + hooks: |
| 49 | + - id: shellcheck |
| 50 | + - repo: https://github.com/asottile/reorder_python_imports |
| 51 | + rev: v2.6.0 |
| 52 | + hooks: |
| 53 | + - id: reorder-python-imports |
| 54 | + language_version: python3 |
| 55 | + - repo: https://github.com/Yelp/detect-secrets |
| 56 | + rev: v1.1.0 |
| 57 | + hooks: |
| 58 | + - id: detect-secrets |
| 59 | + args: ["--baseline", ".secrets.baseline"] |
| 60 | + exclude: .pre-commit-config.yaml |
| 61 | + - repo: https://github.com/markdownlint/markdownlint |
| 62 | + rev: v0.11.0 |
| 63 | + hooks: |
| 64 | + - id: markdownlint |
| 65 | + name: Markdownlint |
| 66 | + description: Run markdownlint on your Markdown files |
| 67 | + entry: mdl |
| 68 | + language: ruby |
| 69 | + files: \.(md|mdown|markdown)$ |
| 70 | + - repo: https://github.com/adrienverge/yamllint.git |
| 71 | + rev: v1.26.3 |
| 72 | + hooks: |
| 73 | + - id: yamllint |
| 74 | + files: \.(yaml|yml)$ |
| 75 | + types: [file, yaml] |
| 76 | + entry: "yamllint --strict" |
| 77 | + - repo: https://github.com/thlorenz/doctoc |
| 78 | + rev: v2.0.1 |
| 79 | + hooks: |
| 80 | + - id: doctoc |
| 81 | + args: ["--title=**Table of Contents**"] |
| 82 | + descripiton: "Generates table of contents for markdown files" |
| 83 | + - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook |
| 84 | + rev: v5.0.0 |
| 85 | + hooks: |
| 86 | + - id: commitlint |
| 87 | + stages: [commit-msg] |
| 88 | + additional_dependencies: ["@commitlint/config-conventional"] |
0 commit comments