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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ryl-0.3.1-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.1.tar.gz.

File metadata

  • Download URL: ryl-0.3.1.tar.gz
  • Upload date:
  • Size: 128.3 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.1.tar.gz
Algorithm Hash digest
SHA256 d9657ea505b47b2af60433a485d51c8f5435e46f5957c8572cde1bac4556b239
MD5 b1d3a19a3b6d3f0321f6193ccc6baf69
BLAKE2b-256 254de3efb9ee5c6ebe5404cdec101e68544e2700225e165d957c52fb55983960

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.1-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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 9d2166c70fa0c004b1c9f269acf1dba9ed851dd4029f3fceed52e1c3e0a3b83c
MD5 6b03d25be7e57dae4885cc7da0ab5e6c
BLAKE2b-256 f245a284371676959a627bbf168ae655fa44424e4f5bc1df7ca492bf895bdd68

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2cf995deccd5d288dffa75b73d440afe027184975a394c507278010947cf8018
MD5 9125a43786bbcde11fc8f3c826fb0693
BLAKE2b-256 5669a7a78893cbc8245e8c0cb800e8ca753d958da597e88600dd6c1b97a2e934

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.1-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.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fd53b96e5e8c9b260787f340e72cd847807ab47291b3a2e9a64a2ac062ec1ff9
MD5 302407d0407070cb84cf2a702127d6e1
BLAKE2b-256 13c0195dbb0c7bbdac23928cb89d5498a85e0c0628ed91feb2dab46a78104ee2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.1-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.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 90332690e05d99231ef92c848fc39e4867293caa24c7b9049007108bfe83df51
MD5 30e8c5007b43c772acb06ce6e9e4b154
BLAKE2b-256 e49a6fb719b83a5f22a6a0d938149b6ba88f49133a273e9453dc337b24d9f901

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92c24274523ad1cb1e5584e9869f85e9b0bf1a944e195290d2ac732c1a8f0d03
MD5 e5f314ce8735be202b9d682bc8cdf1c5
BLAKE2b-256 210d1849aa588beb476accedd910e259dc6562c279b046b07b7767a2a649a2b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 f402debd9b6703936c1272b248fd49ce4b04c537bbe2c831a665c3d0f11dfd83
MD5 4eca6ad92740606474be9b972c11888a
BLAKE2b-256 40b14e8f308eb5b3c02cbcfdb890f4cdfd228169eaaa7fdf864a817636ad2bf6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 dce464a730644dc14c3d1ed065503f3c56087b186c6ae8a3a4d0e5fca65b9362
MD5 6e125d63c10c761f957018d39cda3770
BLAKE2b-256 1f1ccf4a90d0b86afbe17041ba2e94f9c4635161a970384bd96792b8345c5f5f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9a330f240fbdb404c7c8f30bf6f55a6c916662241b407c772061e9afa8509cff
MD5 e53fb12b4bb696abb7228c23c15afd98
BLAKE2b-256 caad024cc0dce9bc40cd70fb46ebfd34710f1c618be97448c48449b01389d84f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b0f7513f290e5fade30b7409d3e91db89bd8448c41bdc5cacc9df092719a4fab
MD5 f6fbd82ed236ef98c319f9e5d38a3583
BLAKE2b-256 7f42f61dfef12a4de47486f4c3b6eb28f25644e01ab092ee8a3e433b0a2377e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ryl-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7b910568c331d49640731cc221d9fb1713991a150d7be77b69715cbe2e81eed4
MD5 0caa67061ba4d70cac432924bb28b182
BLAKE2b-256 fbbbf207bb202d79b97c171fd898e56fd02e978cf81c44e220a10bd2d5c1e7d3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ryl-0.3.1-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.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6410ddf3e7517b9e58213cd692dbc296311bbe047673eae3a74d0e627c8ddf68
MD5 dccbc86564b723094684e5996028dc54
BLAKE2b-256 6150d1d7af9936ffe9b8e52e9f35fa81e8e8fd2016028e1057b674dc4a436659

See more details on using hashes here.

Provenance

The following attestation bundles were made for ryl-0.3.1-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.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: ryl-0.3.1-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.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f2220c157b60e47c625e8c6587f69a97b7ed751c72e2fd09152d646643a2baeb
MD5 21027bdaa7cb4d252b8ea2ba5c08cbc7
BLAKE2b-256 d8c693c35578c6e6200c8885fa940049a00c84d44a2267c78253b5f801905315

See more details on using hashes here.

Provenance

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