add djlint to autopkgtest-cloud CI
Bug #2058686 reported by
Tim Andersson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
Fix Released
|
Low
|
Tim Andersson |
Bug Description
We should be linting our jinja templates to avoid any failures we may miss.
I suggest using djlint:
https:/
and we should run it in both pre-commit and lpci.
Related branches
~andersson123/autopkgtest-cloud:add-djlint-to-ci
- Paride Legovini: Approve
-
Diff: 1098 lines (+477/-330)14 files modified.djlintrc (+7/-0)
.pre-commit-config.yaml (+7/-0)
charms/focal/autopkgtest-web/webcontrol/templates/browse-admin.html (+10/-4)
charms/focal/autopkgtest-web/webcontrol/templates/browse-error.html (+10/-10)
charms/focal/autopkgtest-web/webcontrol/templates/browse-health.html (+31/-25)
charms/focal/autopkgtest-web/webcontrol/templates/browse-home.html (+53/-37)
charms/focal/autopkgtest-web/webcontrol/templates/browse-layout.html (+54/-24)
charms/focal/autopkgtest-web/webcontrol/templates/browse-package.html (+9/-13)
charms/focal/autopkgtest-web/webcontrol/templates/browse-results.html (+12/-16)
charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html (+37/-23)
charms/focal/autopkgtest-web/webcontrol/templates/browse-statistics.html (+44/-47)
charms/focal/autopkgtest-web/webcontrol/templates/browse-testlist.html (+54/-39)
charms/focal/autopkgtest-web/webcontrol/templates/browse-user.html (+59/-48)
charms/focal/autopkgtest-web/webcontrol/templates/macros.html (+90/-44)
Changed in auto-package-testing: | |
status: | New → In Progress |
assignee: | nobody → Tim Andersson (andersson123) |
Changed in auto-package-testing: | |
importance: | Undecided → Low |
To post a comment you must log in.
This is done