| 1 | # Copyright (C) 2020 Sebastian Pipping <[email protected]> |
| 2 | # Licensed under GPL v3 or later |
| 3 | |
| 4 | repos: |
| 5 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 6 | rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 |
| 7 | hooks: |
| 8 | - id: check-merge-conflict |
| 9 | - id: check-yaml |
| 10 | - id: end-of-file-fixer |
| 11 | - id: trailing-whitespace |
| 12 | |
| 13 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 14 | rev: 2700fd5671c633760d912769c041bfcde2b9a01b # frozen: v0.15.22 |
| 15 | hooks: |
| 16 | - id: ruff |
| 17 | args: |
| 18 | - --fix |
| 19 | - id: ruff-format |