Closed Bug 1200613 Opened 10 years ago Closed 10 years ago

Have sanity tests (checking for bad template syntax, missing attributes on html tags...)

Categories

(addons.mozilla.org Graveyard :: Code Quality, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: magopian, Unassigned)

Details

We already have a "flake8" build on travis, we can do better: 1/ make sure we don't have html tags without the necessary attributes (see bug 1196953) 2/ check the template syntax by counting the number of opening and closing {{ and {% 3/ fail if there's bad/debug text like: "pdb.set_trace()", "print", "assert False"...
for 2/, maybe also count the number of opening and closing tags like div, strong, p...
HTML is all going away in olympia.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.