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.3.tar.gz (14.8 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.3-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ruff_cgx-0.1.3.tar.gz
  • Upload date:
  • Size: 14.8 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.3.tar.gz
Algorithm Hash digest
SHA256 46476ed1303441cebe05c6a920ba9947742f86edc2b2db3baa039f47cbca2b8d
MD5 2c6aa88937175979c42e4c1ae0ff5829
BLAKE2b-256 370e8e55b6db03b4833cd99a2e04c5dd34f5685fd9dc186f370a29aac4540baf

See more details on using hashes here.

Provenance

The following attestation bundles were made for ruff_cgx-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: ruff_cgx-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ecfa727f15c7fab89b90340c33aef7c4392962f16a46c1767d1516aaad1ddd92
MD5 2eff3c4ce604a3fb14885dc6b6a0454f
BLAKE2b-256 9c15f5b642e0daa4d7a951a579fe9df2a751104585309a7da8cec232b97d29e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ruff_cgx-0.1.3-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