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.2.tar.gz (133.2 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.2-py3-none-win_arm64.whl (2.5 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

ryl-0.3.2-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.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ryl-0.3.2-py3-none-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: ryl-0.3.2.tar.gz
  • Upload date:
  • Size: 133.2 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.2.tar.gz
Algorithm Hash digest
SHA256 9764ff8a2e7832e998ee896218dc3373e43d08c2b0a3728ef3e5395c4c655298
MD5 373f976341bbaace6196c091fe00e8ca
BLAKE2b-256 a1fb4d02f3e680fcb3291ccb2dbd0ef20863ff2519437923a3237e61910c8d57

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2.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.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: ryl-0.3.2-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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 8b94042004773e89a6287156cb65691ddb047d65adc1dafcf984d708d13407c4
MD5 095dded9f9891be65849e19b4f95ffd1
BLAKE2b-256 540bca0a9ba9a62c3aa40cbde3da3537ee43356aae9b331d6ba1a29a94f8e143

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: ryl-0.3.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fd8fb6e6897edae45e55c3031f74742a37418ff2bd02ce6694a4d3523c2b4256
MD5 d24ada0add42a9039db539e3ca160349
BLAKE2b-256 e05a6479bc71472ecaaa8ffdea1e78d28e62bbd3f5e20916d8edaf981cb90888

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: ryl-0.3.2-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.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6df487a07b339d6bd27a40a85a0592a9323cdc7bbfc15c2a4504fa58e42b7f22
MD5 8332aa9da63d0cc3bed38c776a91dbb8
BLAKE2b-256 15996144e9e3da6c5422ea4684782fb7f7c01baee5b59c110b3c8a68200d0e6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: ryl-0.3.2-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.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 474cb7165714893b351b8e9665270376d494a2e672cf4b6a00ef8402a9dd6b95
MD5 46aa0fbfcdfac3e7e01a32008bdbaefd
BLAKE2b-256 8bfd8f51662932091449f2b606524e7b37e024213e5c607008c0352673ade802

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ryl-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dad80520d709afc073e536c11722bc5c72d95fd0fd8bd72294bf745beca52c41
MD5 c50b2d7b0a4e89f57eb406f5170f6410
BLAKE2b-256 4cde974ede8e49b10f7e9d06d62740f02f749ecbe783a7af4d2b3996e209e118

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for ryl-0.3.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 2dcd492c0136335e467c373affa73da926da1e70cb1511a4a0d1cd73f53f2988
MD5 a4a1f22343cdbb0c71ba0ec8b688fd73
BLAKE2b-256 eaeb2c70becdc6ba7c539a803fa3c4ead9fc44fb3b074750d627e14b1b244fad

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for ryl-0.3.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 91371ac15cef41fb41647e4733f774b3f1b55b1d665a1f8bdcb23a322f8d6bf4
MD5 631de61424ac20ed9c0dacb09abb1aee
BLAKE2b-256 1d39ec722e12d780d0be6f53b880a4e8b1c532c61b644e334db0aa3e8084e88f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ryl-0.3.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 952f879f5fdb52677b2e69f9badccbe6384086656a8f7af4177db2e18d28301e
MD5 fb84e1880b1b637a5f28a0a3a6e6626e
BLAKE2b-256 fd37773eca23bc21c3cdd964ab4e07968ffa412e0cf630eac8eb8d40e0abee76

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for ryl-0.3.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 187bb21f2a36a293626d3517c4dfbcaebb301a0a9e07c103d7231e9603569a7e
MD5 57397f12db97fb0bdd78b69c1981b667
BLAKE2b-256 fab3094bff307697e48de951f08e9e6de03381fc4b25f50e0d6cb7c87164f3f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ryl-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 32189b720e669caefdcde8b38846a33c8007c89cabb7c61855cada4264e021ec
MD5 0a726e4c5b9c3e5059b3f48fb760f98d
BLAKE2b-256 74d0a7106bb094acb295246cf1352d2079aad3a5b72e369f839a3af5798e0367

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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.2-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ryl-0.3.2-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.0 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.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8eebe40a218709c4a8be748678192b6715e1d0d0a9d3f76593ab69663df1826f
MD5 ad3d4d58bba6f9482403988c646ac02a
BLAKE2b-256 0941404bb53816b33373f18587974d7f33fef16e6cc2400ce2aec01697e5aabd

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.2-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