Sha256: 2a6ada95e0ac8fa9279303a6797dae22fe7e65ece4563054d3188cbaadcc777f

Contents?: true

Size: 1.55 KB

Versions: 11

Compression:

Stored size: 1.55 KB

Contents

repos:
- repo: local
  hooks:
  - id: generate
    name: Generate
    language: system
    entry: bash -c "./generate.sh"
    files: '^(\.generator/.*|\.pre-commit-config\.yaml|Makefile|\features/.*|lib/.*)'
    pass_filenames: false
  - id: format-examples
    name: Format generated examples
    language: ruby
    additional_dependencies:
      - rufo
    entry: rufo --simple-exit examples
    files: '^examples'
    pass_filenames: false
  - id: docs
    name: Format documentation
    stages: [manual]
    language: node
    language_version: 20.5.0
    entry: prettier --write --list-different --ignore-unknown README.md
    "types": [text]
    files: 'README.md'
    pass_filenames: false
    additional_dependencies:
      # When updating the version of prettier, make sure to check the  pre-commit file
      # And keep the `entry` here up to date https://github.com/pre-commit/mirrors-prettier/blob/master/.pre-commit-hooks.yaml
      - prettier@3.0.0
  - id: generator
    name: generator
    language: python
    entry: bash -c "cd .generator && poetry install && poetry run python -m generator ./schemas/v1/openapi.yaml ./schemas/v2/openapi.yaml -o ../lib/"
    files: "^.generator/(config|schemas/v1|src|poetry.lock|pyproject.toml)"
    stages: [manual]
    pass_filenames: false
    additional_dependencies:
      - "poetry"
  - id: examples
    name: examples
    language: python
    entry: bash -c "cd .generator && poetry install && poetry run pytest"
    files: "^.generator/"
    stages: [manual]
    pass_filenames: false
    additional_dependencies:
      - "poetry"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 .pre-commit-config.yaml
datadog_api_client-2.27.1 .pre-commit-config.yaml
datadog_api_client-2.26.1 .pre-commit-config.yaml
datadog_api_client-2.26.0 .pre-commit-config.yaml
datadog_api_client-2.25.0 .pre-commit-config.yaml
datadog_api_client-2.24.0 .pre-commit-config.yaml
datadog_api_client-2.22.0 .pre-commit-config.yaml
datadog_api_client-2.21.0 .pre-commit-config.yaml
datadog_api_client-2.20.0 .pre-commit-config.yaml
datadog_api_client-2.19.0 .pre-commit-config.yaml
datadog_api_client-2.18.0 .pre-commit-config.yaml