File: .pre-commit-config.yaml

package info (click to toggle)
cyclonedds 0.10.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 21,372 kB
  • sloc: ansic: 224,361; perl: 1,904; xml: 1,894; yacc: 1,018; sh: 882; python: 106; makefile: 94
file content (45 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
repos:
- repo: local
  hooks:
  - id: must-match-hash
    name: bison-parser-hashcheck
    language: python
    always_run: true
    entry: python hooks/must-match-hash.py
    args: [
      '--hash-files',
        'src/idl/src/parser.y',
      '--append-files',
        'src/idl/src/parser.h',
        'src/idl/src/parser.c'
    ]
    pass_filenames: false
  - id: must-match-hash
    name: confgen-hashcheck
    language: python
    always_run: true
    entry: python hooks/must-match-hash.py
    args: [
      '--hash-files',
        'src/core/ddsi/include/dds/ddsi/ddsi_cfgelems.h',
        'src/core/ddsi/include/dds/ddsi/ddsi_cfgunits.h',
        'src/core/ddsi/include/dds/ddsi/ddsi_config.h',
        'src/core/ddsi/src/ddsi_config.c',
        'src/tools/_confgen/_confgen.h',
        'src/tools/_confgen/_confgen.c',
        'src/tools/_confgen/generate_rnc.c',
        'src/tools/_confgen/generate_md.c',
        'src/tools/_confgen/generate_xsd.c',
        'src/tools/_confgen/generate_defconfig.c',
      '--append-files',
        'src/core/ddsi/defconfig.c',
        'etc/cyclonedds.rnc',
        'etc/cyclonedds.xsd',
        'docs/manual/options.md'
    ]
    pass_filenames: false
  - id: version-check
    name: version-check
    language: python
    entry: python hooks/version-check.py
    pass_filenames: false