Skip to main content

Poetry Ruff License: MIT Known Vulnerabilities CodeRabbit Pull Request Reviews

zuulcilint

Validate from the command line

pip install zuulcilint

usage: zuulcilint [-h] [--version] [--check-playbook-paths] [--schema SCHEMA] [--ignore-warnings] [--warnings-as-errors] file [file ...]

positional arguments:
  file                  file(s) or paths to lint

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --check-playbook-paths, -c
                        check that playbook paths are valid
  --schema SCHEMA, -s SCHEMA
                        path to Zuul schema file
  --ignore-warnings, -i
                        ignore warnings
  --warnings-as-errors  handle warnings as errors

Validate with pre-commit

Add the code below to your .pre-commit-config.yaml file:

  - repo: https://github.com/codesquadnest/zuulcilint.git
    rev: "1.0.0"
    hooks:
      - id: zuulcilint

Validate with VS Code

To ease editing Zuul CI configuration file we added experimental support for a Zuul JSON Schema. This should enable validation and auto-completion in code editors.

For example on VSCode you can use the YAML extension to use such a schema validation by adding the following to .vscode/settings.json:

"yaml.schemas": {
  "https://raw.githubusercontent.com/codesquadnest/zuulcilint/master/zuulcilint/zuul-schema.json": [
      "*zuul-extra.d/***/*.yaml",
      "*zuul.d/**/*.yaml",
      "*zuul.d/**/**/*.yaml",
      "*/.zuul.yaml"
  ]
},
"yaml.customTags": [
  "!encrypted/pkcs1-oaep",
  "!encrypted/pkcs1-oaep sequence",
  "!override",
  "!override sequence",
  "!override mapping",
  "!inherit",
  "!inherit sequence",
  "!inherit mapping"
],
"sortJSON.orderOverride": ["title", "name", "$schema", "version", "description", "type"],
"sortJSON.orderUnderride": ["definitions"]

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zuulcilint-1.0.0.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zuulcilint-1.0.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file zuulcilint-1.0.0.tar.gz.

File metadata

  • Download URL: zuulcilint-1.0.0.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.10.16 Linux/6.8.0-1017-azure

File hashes

Hashes for zuulcilint-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1cda7eb12fd64a2654f45bbfeff7513896ec58a5ea43ba1ce61437b0b046bf1e
MD5 6d10ab6d813f248b635c56a4632edd5d
BLAKE2b-256 3592d03d6a3c77b46c7a22ea5777cf4e3253d2047a57a1f5fb3faaa88cf3abb1

See more details on using hashes here.

File details

Details for the file zuulcilint-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: zuulcilint-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.10.16 Linux/6.8.0-1017-azure

File hashes

Hashes for zuulcilint-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed6e54d47a9dbda4e8a2cdb2aac4c30a6c5fee12e6aa162f2d6af0ac71c97345
MD5 2f29bcbdcdd695b6180420f1fa91947f
BLAKE2b-256 159df9dbb9fc6ac91fa4b81833708eb25ecd50b4235015ef4bc1dea0debe7b75

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.3.1

2 files

0.3.0

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page