ricolin | f796ea8 | 2025-03-14 23:18:14 +0800 | [diff] [blame^] | 1 | repos: |
| 2 | - repo: https://github.com/compilerla/conventional-pre-commit |
| 3 | rev: v2.0.0 |
| 4 | hooks: |
| 5 | - id: conventional-pre-commit |
| 6 | stages: |
| 7 | - commit-msg |
| 8 | |
| 9 | - repo: https://github.com/psf/black |
| 10 | rev: 24.8.0 |
| 11 | hooks: |
| 12 | - id: black |
| 13 | |
| 14 | - repo: https://github.com/pycqa/flake8 |
| 15 | rev: 5.0.4 |
| 16 | hooks: |
| 17 | - id: flake8 |
| 18 | |
| 19 | - repo: https://github.com/pycqa/isort |
| 20 | rev: 5.13.2 |
| 21 | hooks: |
| 22 | - id: isort |
| 23 | |
| 24 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 25 | rev: v4.3.0 |
| 26 | hooks: |
| 27 | - id: check-yaml |
| 28 | args: [--allow-multiple-documents] |
| 29 | - id: end-of-file-fixer |
| 30 | - id: trailing-whitespace |