Skip to content

Check for liquid errors during linting#2815

Merged
hunhoffe merged 4 commits intomainfrom
check-for-liquid-errors
Jan 14, 2026
Merged

Check for liquid errors during linting#2815
hunhoffe merged 4 commits intomainfrom
check-for-liquid-errors

Conversation

@hunhoffe
Copy link
Collaborator

@hunhoffe hunhoffe commented Jan 13, 2026

@fifield correctly mentioned that it would be nice to be more programmatic about detecting and reporting liquid errors. This PR introduces a script that can do this for .td files, and integrates that script into the CI linting job.

@hunhoffe
Copy link
Collaborator Author

Script caught error during linting that looked like this:

Error: Unescaped '{%' found in include/aie/Dialect/AIE/IR/AIEOps.td at line 1824
Context: {%tile14}, 2 : i32) ...

Found potential Liquid syntax errors in .td files.
Please escape '{%' using '{% raw %}{%{% endraw %}' or add a space '{ %' if it represents MLIR syntax.

Now I'm going to try fixing the error to see if it passes.

@hunhoffe hunhoffe changed the title [WIP] Check for liquid errors during linting Check for liquid errors during linting Jan 13, 2026
@hunhoffe hunhoffe marked this pull request as ready for review January 14, 2026 00:11
@hunhoffe hunhoffe added this pull request to the merge queue Jan 14, 2026
Merged via the queue into main with commit 6f766f4 Jan 14, 2026
60 checks passed
@hunhoffe hunhoffe deleted the check-for-liquid-errors branch January 14, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants