Sha256: deb1e7a3eb6a919218d8710fefa79699c3cac72f95816839b3961a10f595472f
Contents?: true
Size: 1.52 KB
Versions: 4
Compression:
Stored size: 1.52 KB
Contents
repos: - repo: local hooks: - id: generate name: Generate language: system entry: make files: '^(\.generator/.*|\.pre-commit-config\.yaml|Makefile|\features/.*)' pass_filenames: false - id: format-examples name: Format generated examples language: ruby additional_dependencies: - rufo entry: rufo examples files: '^examples' pass_filenames: false - id: docs name: Format documentation stages: [manual] language: node language_version: 14.12.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@2.5.1 - 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
4 entries across 4 versions & 1 rubygems