Skip to main content

Ignition Lint

Static analysis for Ignition Perspective view.json files. Catches naming inconsistencies, performance problems, broken component references, dead custom properties, and Python errors in embedded scripts — before they hit the gateway.

Why

Perspective views are JSON-encoded UI definitions with embedded Python scripts. There's no compiler, no IDE checker, no type system. A typo in an event handler, a now() polling interval that hammers the gateway, or a custom property nobody references will survive happily in source control until somebody hits the bad path in production.

Ignition Lint runs at design time. It builds an object model of every component, binding, and script in your views, then checks it against a configurable set of rules. Plug it into pre-commit to gate developers, into CI to gate pull requests, or run it standalone to audit an existing project.

Quick start

pip install ign-lint
ign-lint path/to/view.json

To lint many views with a project-wide config:

ign-lint --config rule_config.json --files "views/**/view.json"

Built-in rules

Rule What it catches
NamePatternRule Component, property, and script names that don't match a configured convention
BadComponentReferenceRule Brittle traversal patterns (.getSibling(), .getParent(), relative paths)
ComponentReferenceValidationRule Relative references that don't resolve to a real component
PollingIntervalRule now() polling intervals below a configurable minimum
UnusedCustomPropertiesRule Custom properties and view parameters defined but never referenced
ExcessiveContextDataRule Large datasets stored in custom properties (arrays, breadth, depth, total volume)
PylintScriptRule Pylint findings across every script in the view

Every rule is configurable. Severity is per-rule (error or warning). Several rules support auto-fix.

Documentation

The full documentation covers configuration, every rule (user guide plus full technical reference), pre-commit and GitHub Actions integration, debug output, and the framework internals for writing custom rules.

Read the docs: bw-design-group.github.io/ignition-lint

Highlights:

  • Tutorial — first-run walkthrough on a real view, reading the output, and configuring a rule
  • Per-rule pages — common configurations, examples drawn from real fixtures, and what each rule's auto-fix does
  • Developer guide — the visitor pattern, base classes, registry API, and a step-by-step for writing your own rule

Project status

The package publishes to PyPI as ign-lint. Release history lives in CHANGELOG.md (and is mirrored in the docs site). Release process is documented in RELEASING.md.

License

MIT — see LICENSE.

Metadata

Release files for ign-lint 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ign-lint 0.6.4
File Size Uploaded Provenance Actions
ign_lint-0.6.4.tar.gz 100.5 kB With provenance Details for ign_lint-0.6.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ign-lint 0.6.4
File Interpreter ABI Platform Actions
ign_lint-0.6.4-py3-none-any.whl Python 3 none any Details for ign_lint-0.6.4-py3-none-any.whl

Total release size: 220.6 kB

Release files / ign_lint-0.6.4.tar.gz

Download URL ign_lint-0.6.4.tar.gz
Size 100.5 kB
Tags Source
SHA-256 checksum
How to use checksums
386f4c1f79f1fd699cac54ef90766c4cc50dc29739b6b6c92e2bde340ebccf42
BLAKE2b-256 checksum
How to use checksums
d2f031e2bd937a481b29ef547747c03bd0ba3208debf774ae7fdba5e440fdca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / ign_lint-0.6.4-py3-none-any.whl

Download URL ign_lint-0.6.4-py3-none-any.whl
Size 120.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9502d0813c581dbcb19f68b6f8886aae6fcd38b28ac0b2ec7fa204d0855eea13
BLAKE2b-256 checksum
How to use checksums
87b3965518d8a485d8643c53e4de4e1a24f8015b533b1a97a1c157bc3f74c560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Security for ign-lint 0.6.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ign_lint-0.6.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page