Skip to main content

Ruff linter and formatter for collagraph single-file components

Project description

PyPI version CI status ruff

Ruff-cgx

Lint and format CGX files (collagraph single-file components) with ruff.

Usage

# Install in your environment (for example with uv)
uv add --dev ruff-cgx
# Show help for the tool
uv run ruff-cgx -h
# Check/Lint every cgx file in current folder (recursively)
uv run ruff-cgx check .
# Format every cgx file in the current folder (recursively)
uv run ruff-cgx format .
# Just check if there would be any changes from the formatter
uv run ruff-cgx format --check .
# Format just a single file
uv run ruff-cgx format my-component.cgx
# Format a folder and file
uv run ruff-cgx format ../folder_with_cgx_files my-component.cgx

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

ruff_cgx-0.1.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

ruff_cgx-0.1.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file ruff_cgx-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for ruff_cgx-0.1.2.tar.gz
Algorithm Hash digest
SHA256 56cf760f03f140a39d1f0899cee88327deec07165d89aa591536ff263e772699
MD5 d2fc69a7bad7c8884dc571bae58155fa
BLAKE2b-256 90e1af2bbadfcde848ba3263fac7328e1fef4c6d3cac902d56463c848c8edcb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ruff_cgx-0.1.2.tar.gz:

Publisher: ci.yml on fork-tongue/ruff-cgx

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

File details

Details for the file ruff_cgx-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ruff_cgx-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ruff_cgx-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be85a9628c106611d8d812491ca474d845a6e590d5a052cbc3b639245210f18a
MD5 5ca0e82b66bd4a67db518707c2948c78
BLAKE2b-256 a154718a4f38b9526d88dc1b4d5b16f4391049c42eac07969e318f7f3ffb9358

See more details on using hashes here.

Provenance

The following attestation bundles were made for ruff_cgx-0.1.2-py3-none-any.whl:

Publisher: ci.yml on fork-tongue/ruff-cgx

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