Skip to main content

Fast YAML linter (Rust) packaged for PyPI

Project description

ryl

ryl - the Rust Yaml Linter is intended to ultimately be a drop in replacement for yamllint. It's only just begun and isn't ready for use yet though. I'll update and post info as it becomes ready.

Usage

ryl accepts one or more paths: files and/or directories.

Basic:

ryl <PATH_OR_FILE> [PATH_OR_FILE...]

Behavior:

  • Files: parsed as YAML even if the extension is not .yml/.yaml.
  • Directories: recursively lints .yml and .yaml files.
    • Respects .gitignore, global git ignores, and git excludes.
    • Does not follow symlinks.

Exit codes:

  • 0 when all parsed files are valid (or no files found).
  • 1 when any invalid YAML is found.
  • 2 for CLI usage errors (for example, no paths provided).

Examples:

# Single file
ryl myfile.yml

# Multiple inputs (mix files and directories)
ryl config/ another.yml

# Multiple directories
ryl dir1 dir2

# Explicit non-YAML extension (parsed as YAML)
ryl notes.txt

Help and version:

  • ryl -h or ryl --help shows auto-generated help.
  • ryl -V or ryl --version prints the version.

The CLI is built with clap, which auto-generates --help and --version.

Configuration

  • Flags:
    • -c, --config-file <FILE>: path to a YAML config file.
    • -d, --config-data <YAML>: inline YAML config (highest precedence).
    • --list-files: print files that would be linted after applying ignores and exit.
    • -f, --format, -s, --strict, --no-warnings: reserved for compatibility.
  • Discovery precedence: inline --config-data > --config-file > env YAMLLINT_CONFIG_FILE (global) > nearest project config up the tree (.yamllint, .yamllint.yml, .yamllint.yaml) > user-global ($XDG_CONFIG_HOME/yamllint/config or ~/.config/yamllint/config) > built-in defaults.
  • Per-file behavior: unless a global config is set via --config-data, --config-file, or YAMLLINT_CONFIG_FILE, each file discovers its nearest project config. Ignores apply to directory scans and explicit files (parity).
  • Presets and extends: supports yamllint’s built-in default, relaxed, and empty via extends. Rule maps are deep-merged; scalars/sequences overwrite.

Project details


Download files

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

Source Distribution

ryl-0.3.3.tar.gz (134.4 kB view details)

Uploaded Source

Built Distributions

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

ryl-0.3.3-py3-none-win_arm64.whl (2.5 MB view details)

Uploaded Python 3Windows ARM64

ryl-0.3.3-py3-none-win_amd64.whl (2.7 MB view details)

Uploaded Python 3Windows x86-64

ryl-0.3.3-py3-none-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

ryl-0.3.3-py3-none-musllinux_1_2_aarch64.whl (3.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

ryl-0.3.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ryl-0.3.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

ryl-0.3.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (3.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

ryl-0.3.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (3.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

ryl-0.3.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

ryl-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ryl-0.3.3-py3-none-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file ryl-0.3.3.tar.gz.

File metadata

  • Download URL: ryl-0.3.3.tar.gz
  • Upload date:
  • Size: 134.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ryl-0.3.3.tar.gz
Algorithm Hash digest
SHA256 919be5ca0975c331d8e97df48fb911fa77b25efa6e11fad5ddd2cd793ff1bcdf
MD5 a08987baeaf208f4f7f4a75c3b4396ba
BLAKE2b-256 e6623f01c8934886973f9d175986ae44791bb76ca32e870bc3b1b9402dabf9f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3.tar.gz:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-win_arm64.whl.

File metadata

  • Download URL: ryl-0.3.3-py3-none-win_arm64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ryl-0.3.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 660c30fb6c05dbafed881d7ebedc9fcc476aeb55c71147e0094cb5935ac8cedf
MD5 b01f496765c843da32aea5a5ef27b05b
BLAKE2b-256 1b6d75d4566c9a5496f636a05daa7438e7c49134a4eb7068265998c3f67d3c89

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-win_arm64.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: ryl-0.3.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ryl-0.3.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7815ae18e2137a400530c19db9a8e3414d391c1f5c363f6278342aaa8cc6e426
MD5 275b239ebe9292fbf78f6bb8c9de16ea
BLAKE2b-256 6b00c056ccc4f35b21f7af38db0195ad40350c3fc7eeec12f579eafc87948720

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-win_amd64.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: ryl-0.3.3-py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ryl-0.3.3-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d503284f0b102e373ce7f22309f8d07bbc1f4063b938041b7caa79b01643643b
MD5 8992cca3cbbb97a55471e6bcf60349e2
BLAKE2b-256 c640aa5af365aba95f1a0a00afdb16c730bb7c8a7451dc5544c766a7ef9bf22c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-musllinux_1_2_x86_64.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: ryl-0.3.3-py3-none-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ryl-0.3.3-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2b4441d816f87b32ab92ac61d8f9d8a0259ed4a6f907e3da6fdfbaba14badcc9
MD5 7b47384561a5498a9ecc04625b0a9cc4
BLAKE2b-256 1546a86623e3ea78e2580a9a906862e76d73230c80bcc29fc0195bb4c4e71433

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-musllinux_1_2_aarch64.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ryl-0.3.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1efdc6ff54c7eb716be4f22cbf308c618e01139b346a6e32ceac3f459242872e
MD5 9ab49579f7ce3908466c45c8a8b7888c
BLAKE2b-256 31bcdd0b45c7ed2fbd4789e58a88349a35867df3d6f95db4ddfcf326f126a805

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for ryl-0.3.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 cc2626be226fd0fcd0ad9b85ccf5846b0fb8731b8518ac347f84107a5b271635
MD5 01e9f9be93e2b6ceb11fa1d42e3b8339
BLAKE2b-256 065a8c4c9df0681d3f8d42480c2a9f2d89cb7365d6300657806f074a44b8b570

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for ryl-0.3.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 5e859aa3b31b8da2ae9f4640b571976af0d8c14ffac460ad71d8d864c88ad2f8
MD5 7823bba10deff6faa7ef2a0c4021c0d3
BLAKE2b-256 89e3c62bdca215a71730b950de8a635a2dbbed1cf84d971d679e3ad54481dd10

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ryl-0.3.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 89c2a6ec2192e62c5804d187e89e5d12069dcff47601458c1daf91a6e5909b79
MD5 2f236ababfaace43524e9daeff47802f
BLAKE2b-256 5d4aa881f45a3fe24226c9b29a2ea3a5a8870bf137feb7337e7b54c398bb8f7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for ryl-0.3.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d0d7d13495164742ce1d255e103b6119a3da7eb7a14f1f8b6395ec98bf25e530
MD5 b15c836bffcc14e1d8782af21dbeebd2
BLAKE2b-256 2581f84aba24a35e4a374ce7cdf1cdbd808a54703b8a248c95e639dab8365d63

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ryl-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 739fac8efda99012a9ce54560f01d975d2371fc76d70b9a466663afc1d86b70b
MD5 d82f1c6612e960064dbc69715f94c978
BLAKE2b-256 a969347569f2d595f741c44d7057dea0bec727fdd7772e3a1cb3fb7d1bebcaa6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ryl-0.3.3-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ryl-0.3.3-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ryl-0.3.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4e39ef49a5b2c06ee25902cafaf3a9b854d68814ed95b923d6a8f684276ca80
MD5 88eae63245e195ca39469671eae2a00c
BLAKE2b-256 3ce7ba599376e1c79248fa7b3b92c390e1ea4119ac9dfd12ca3d67cffe37797e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.3-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on owenlamont/ryl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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