1repos: 2- repo: https://github.com/pre-commit/pre-commit-hooks 3 rev: v2.3.0 4 hooks: 5 - id: end-of-file-fixer 6 - id: trailing-whitespace 7 - id: no-commit-to-branch 8 args: ['--branch', 'main'] 9- repo: https://github.com/psf/black 10 rev: 22.10.0 11 hooks: 12 - id: black 13 args: ['--check', '--diff', '.'] 14- repo: https://github.com/charliermarsh/ruff-pre-commit 15 rev: v0.0.254 16 hooks: 17 - id: ruff 18 args: ['--ignore=E741,E501', '.'] 19- repo: https://gitlab.freedesktop.org/freedesktop/ci-templates.git 20 rev: 7402203527f61d6473d55ad701172d1606508c52 21 hooks: 22 - id: check-commits 23 - id: generate-template 24