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.0.tar.gz (127.9 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.0-py3-none-win_arm64.whl (2.4 MB view details)

Uploaded Python 3Windows ARM64

ryl-0.3.0-py3-none-win_amd64.whl (2.6 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

ryl-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ryl-0.3.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (3.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

ryl-0.3.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

ryl-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

ryl-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ryl-0.3.0-py3-none-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: ryl-0.3.0.tar.gz
  • Upload date:
  • Size: 127.9 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.0.tar.gz
Algorithm Hash digest
SHA256 ed4fede055dea52711559b6c2be75c03db4f59e3ad5dcdb80207276867228b8e
MD5 9e46ade8e9e4ca88425263d278bf9fd8
BLAKE2b-256 e682b0b174df057801fdadb9516af8bd0e6041556ef4a4c8eccab3dacfdff1fa

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 2.4 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.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 cb232a254b99750bb9b4ca519e6688714813fc2db184e8f96d81ed940712f6d2
MD5 fb496548e0416335fe15af37ca34eea1
BLAKE2b-256 99fc5dcfccd9c42ca1f5e0bafd7d825a2a14131ebbff18dfc89556d78559cee6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.6 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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0f848426fabdafb749e63e0d3bb5188747cd7c990619608ef2aa65fb8c5597c3
MD5 ae276df2b4d35edba1d1a0e34870629e
BLAKE2b-256 ce8711a6eedf1540912588d72c890cecd3067638952bd5598239f03f46b7dc35

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.0-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.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8ae509a72a9b821b7f1d3feaa91910b1465537b76934c506a367f4da05460ccc
MD5 dbfa3e5f2f2439991bb0718cdcdffbcf
BLAKE2b-256 7394d09974aacf3610fc93000514e18138ec8359efb755e3e9a6191d15649ff7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.0-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.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d1b0e46f7e53ae61acc6bf3a364416b7ece285d4ef0f1be78604a8a86019099d
MD5 3cacebd8ddf1e271919da9b256759f54
BLAKE2b-256 eeba1c3ca6c0ea43b9f036d25419a684d68f896de5db1cc0161b5d4d42da573c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c0a34873c1177985a3bcc0ddd2e677449f0a6a14f13c3ea79e565b1ffd5fcaff
MD5 56564d7d962198400d7142d994b38e0b
BLAKE2b-256 a3ad58969ad3d300a6c5f8256fed1163d9eb16714fe02347242c41abafd143a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 324691d67d288a6292e42a1c04bce43542b4bdcfb26eb5033063b6c41c0cc83a
MD5 14227e2b555f18f5cd821e18f71d1ce8
BLAKE2b-256 a9ae08a0bc2d9dffc054f18aadf3980b2a24a3416d58ae96cbbe2548e7f0e3ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 a5cf51908e33eaca850577928100531dfbe2a10ebeacfcecfa4cce3d0887fc00
MD5 933c8f949bcf4c3ea94bba5024cad1bf
BLAKE2b-256 e4c0d07cabb2b704bd45064be991fb0d3a333b8a2470fe20410257437cadbb72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ca115782528335de7ee695a88dd8de13c7329267802f02bad9a4a9d909126790
MD5 79d252f7c456604e906114d45b8cb7e6
BLAKE2b-256 e2d15ffd1684095ca2d395440e837815bd5a7c817c2b62211ea7193b1b7f37ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 62d78bc74eacf5ae95021081ed5641ed28122e68adcea62da8afcd63a6c123d5
MD5 8c923674f53ac8469f6355c3df672c2b
BLAKE2b-256 f8de20fc3cad3dbb855fbc1a01dbb1937595c2c02103a77f1834a2f3115303a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fa04813e861d035af13873f2dd45b4fff151cda7e58d2acdb16d33d611131b86
MD5 28282e0299b349d13bf306743b8d864c
BLAKE2b-256 809431ad6e733f3b607d77a439345a6e5eea27f48a451a1c003a531cdd915ad3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.0-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.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 43c2ab393106c654431f2ce08cb8b276bb668a297abe13ebcdfdf6a0060ef990
MD5 39a0d9a708082885dab99f3195bbd70a
BLAKE2b-256 da7b7f5b7522d3b1426ffcd07c20aaac61b41df36a66e61af42b658d640db629

See more details on using hashes here.

Provenance

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

File details

Details for the file ryl-0.3.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: ryl-0.3.0-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ryl-0.3.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d8beafc240e3ac344a0ef4e9930984d9facb9b9681c66ece6b69e7240283336e
MD5 2af97618c1ba1e53ace07c23f28c2b13
BLAKE2b-256 10f5f80b2b402958cbaf207f918d80778c4795543470969697461f18585bf671

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.0-py3-none-macosx_10_12_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.

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