zulip/tools/tests
adnrs96 b3cbb13a79 linter: Add support for automatic checking for 4 space indents in CSS.
In this commit we modify our CSS parser not only to render the text from
a given CSS tokens produced but also enforce 4 space indentation on it.
Also we enforce some basic rules we would like our CSS to follow such as
* Always have "\n" in between the starting of body({) and body itself
  and ending of the body and the closing of body(}).
* Use 4 space indents while having but something within the block
  structure ( { .... } ).
* Have single space after ',' in between multiple selectors.
* Have only a single space in between selector and the starting of
  block structure ({ ... }) if block structure starts on same line as
  of selector.
  eg. body {
          body content here
      }
  Notice single space between 'body' and '{'.

Fixes: #1659.
2017-03-21 13:40:05 -07:00
..
test_template_data Lint for duplicate ids in templates. 2017-01-13 17:00:22 -08:00
__init__.py Add test coverage for parsers in tools/lib. 2016-08-04 10:47:09 -07:00
test_capitalization_checker.py capitalization: Make it easier to ignore phrases. 2017-03-10 11:21:49 -08:00
test_css_parser.py linter: Add support for automatic checking for 4 space indents in CSS. 2017-03-21 13:40:05 -07:00
test_html_branches.py tools: Fix regressions in tools/tests/test_html_branches.py 2017-01-19 08:02:34 -08:00
test_pretty_print.py Enhance template parser for comments, Fix deep nesting in Jinja2. 2017-03-11 15:16:44 -08:00
test_template_parser.py Improve check-templates error handling. 2017-02-22 17:39:12 -08:00