We could use (e.g.) https://djlint.com/docs/languages/jinja/ to set up a static analysis workflow that lints the jinja files.