zulip/docs
Anders Kaseorg 69730a78cc python: Use trailing commas consistently.
Automatically generated by the following script, based on the output
of lint with flake8-comma:

import re
import sys

last_filename = None
last_row = None
lines = []

for msg in sys.stdin:
    m = re.match(
        r"\x1b\[35mflake8    \|\x1b\[0m \x1b\[1;31m(.+):(\d+):(\d+): (\w+)", msg
    )
    if m:
        filename, row_str, col_str, err = m.groups()
        row, col = int(row_str), int(col_str)

        if filename == last_filename:
            assert last_row != row
        else:
            if last_filename is not None:
                with open(last_filename, "w") as f:
                    f.writelines(lines)

            with open(filename) as f:
                lines = f.readlines()
            last_filename = filename
        last_row = row

        line = lines[row - 1]
        if err in ["C812", "C815"]:
            lines[row - 1] = line[: col - 1] + "," + line[col - 1 :]
        elif err in ["C819"]:
            assert line[col - 2] == ","
            lines[row - 1] = line[: col - 2] + line[col - 1 :].lstrip(" ")

if last_filename is not None:
    with open(last_filename, "w") as f:
        f.writelines(lines)

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2020-06-11 16:04:12 -07:00
..
_static travis: Removed screen cast of Travis setup. 2020-06-01 14:12:11 -07:00
_templates compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
contributing docs: Update most remaining references to zulipchat.com. 2020-06-08 18:10:45 -07:00
development auth: Add Sign in with Apple support. 2020-06-09 17:29:35 -07:00
documentation docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
git docs: Fix broken and missing link references in Git guide. 2020-06-01 18:31:05 -07:00
images doc: Updated CircleCI setup documentation. 2020-06-01 14:12:11 -07:00
overview docs: Update changelog. 2020-06-09 00:32:07 -07:00
production puppet: Install wal-g, not wal-e. 2020-06-11 15:52:43 -07:00
subsystems settings: Extract most of test_settings to test_extra_settings. 2020-06-09 22:29:50 -07:00
testing docs: Update most remaining references to zulipchat.com. 2020-06-08 18:10:45 -07:00
translating docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
tutorials docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
.gitignore gitignore: Anchor patterns that should be anchored. 2017-07-19 14:03:49 -07:00
Makefile docs: Replace Makefile based on output of newer sphinx-quickstart. 2019-12-02 18:39:33 -08:00
README.md docs: Add README.md to zulip/docs to prevent reading on GitHub. 2018-04-24 10:50:39 -07:00
THIRDPARTY docs: Update most remaining references to zulipchat.com. 2020-06-08 18:10:45 -07:00
code-of-conduct.md repository: Add CODE_OF_CONDUCT.md. 2017-06-14 18:43:08 -07:00
conf.py python: Use trailing commas consistently. 2020-06-11 16:04:12 -07:00
index.rst docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
requirements.readthedocs.txt requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30

README.md

Zulip markdown documentation hosted elsewhere

The markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.