File: .pre-commit-config.yaml

package info (click to toggle)
libei 1.3.901-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,900 kB
  • sloc: ansic: 23,219; python: 2,686; xml: 1,264; sh: 142; makefile: 63; cpp: 12; lisp: 2
file content (23 lines) | stat: -rw-r--r-- 652 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v5.0.0
  hooks:
  - id: end-of-file-fixer
  - id: trailing-whitespace
  - id: check-merge-conflict
  - id: check-symlinks
  - id: no-commit-to-branch
    args: ['--branch', 'main']
- repo: https://github.com/charliermarsh/ruff-pre-commit
  rev: v0.9.4
  hooks:
  - id: ruff
    args: ['--ignore=E741,E501', '.', 'proto/ei-scanner']
  - id: ruff-format
    args: ['.', 'proto/ei-scanner']
- repo: local
  hooks:
  - id: ci-fairy-generate-template
    name: ci-fairy-generate-template
    entry: bash -c 'command -v ci-fairy && ci-fairy generate-template || true'
    language: system