zulip/tools/lib
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
..
__init__.py Extract tools/lib/template_parser.py. 2016-08-01 16:27:50 -07:00
api_tests.py lint: Clean up E712 PEP-8 rule. 2017-01-23 21:11:18 -08:00
capitalization.py capitalization: Add exception for selected message. 2017-03-20 07:52:58 -07:00
css_parser.py linter: Add support for automatic checking for 4 space indents in CSS. 2017-03-21 13:40:05 -07:00
find_add_class.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
graph.py Add roadmap feature to js-dep-visualizer. 2017-03-21 07:39:30 -07:00
html_branches.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
html_grep.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
pretty_print.py linter: Add support for automatic checking for 4 space indents in HTML. 2017-03-14 14:50:16 -07:00
provision.py Add wrapper and log file output for provisioning. 2017-01-17 14:23:28 -08:00
sanity_check.py tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
template_parser.py Enhance template parser for comments, Fix deep nesting in Jinja2. 2017-03-11 15:16:44 -08:00
test_script.py Add wrapper and log file output for provisioning. 2017-01-17 14:23:28 -08:00
test_server.py Change bot domains to string_id.EXTERNAL_HOST. 2017-03-08 16:26:13 -08:00