j2lint is a command-line utility that validates Jinja2 syntax according to Arista's AVD style guide. It checks for formatting, spelling, and structural issues in Jinja2 templates. Current version: 1.2.0. Release cadence: occasional, maintenance mode.
pip install j2lintVerified import paths — ran on the pinned version, not inferred.
Run j2lint programmatically on a Jinja2 template file.
Update parsing logic to expect JSON output, or use the --format plain flag (if available) to revert to old style.
Pass files with .j2 extension or use --ext .<ext> to add custom extensions.
Disable specific rules via --ignore RULE or create a custom config file.
No dependency data recorded yet.