zulip/tools/tests
Steve Howell 951514dd7d check-templates: Be stricter about singleton tags.
We now forbid tags of the form `<foo ... />` in most
places, and we also forbid it even for several void
tags.

We make exceptions for tags that are already formatted
in two different ways in our codebase.  This is mostly
svg tags, plus these common cases:

    - br
    - hr
    - img
    - input

It would be nice to lock down a convention for these,
even though the HTML specification is unopinionated
on these.  We'll probably want to stay flexible for
svg tags, since they are sometimes copy/pasted from
other sources (although it's probably rare enough for
them that we can tolerate just doing minor edits as
needed).
2020-04-24 20:25:55 +00:00
..
test_template_data Lint for duplicate ids in templates. 2017-01-13 17:00:22 -08:00
__init__.py
test_capitalization_checker.py check-capitalization: Check for banned words. 2018-03-11 15:34:47 -07:00
test_check_rabbitmq_queue.py check-rabbitmq-queue: Add a simple algorithm to analyze queue stats. 2020-04-09 13:41:01 -07:00
test_html_branches.py check-templates: Be stricter about singleton tags. 2020-04-24 20:25:55 +00:00
test_pretty_print.py check-templates: Be stricter about singleton tags. 2020-04-24 20:25:55 +00:00
test_template_parser.py check-templates: Be stricter about singleton tags. 2020-04-24 20:25:55 +00:00
test_zulint_custom_rules.py zulint: Use zulint from the extracted repository. 2019-07-26 11:35:43 -07:00