ricolin | e884f12 | 2024-11-01 16:28:13 +0800 | [diff] [blame] | 1 | repos: |
ricolin | d6d582b | 2024-12-05 10:11:27 +0800 | [diff] [blame^] | 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 | |
ricolin | e884f12 | 2024-11-01 16:28:13 +0800 | [diff] [blame] | 24 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 25 | rev: v4.3.0 |
| 26 | hooks: |
ricolin | d6d582b | 2024-12-05 10:11:27 +0800 | [diff] [blame^] | 27 | - id: check-yaml |
| 28 | args: [--allow-multiple-documents] |
ricolin | e884f12 | 2024-11-01 16:28:13 +0800 | [diff] [blame] | 29 | - id: end-of-file-fixer |
| 30 | - id: trailing-whitespace |