zulip/tools
Greg Price 4a6e867046 lint: Disable a buggy `pep8` rule on line breaks and operators.
I'd much rather see something like

    if (thing_is_permissible(user, thing)
            or (user_possesses_hammer(user)
                and glass_break_requested(thing))):

than

    if (thing_is_permissible(user, thing) or
            (user_possesses_hammer(user) and
                glass_break_requested(thing))):

because the former makes the overall logic much easier to scan.
Similarly for a formula full of arithmetic rather than Boolean
operators.  And the actual PEP 8 agrees (though until 2016 it
unfortunately had the opposite advice.)

The upstream linter still applies the backward rule, so disable that.
2017-10-26 10:29:17 -07:00
..
documentation_crawler Remove useless shebang lines. 2017-10-11 12:52:36 -07:00
lib py3: Remove "from six.moves import range". 2017-10-17 23:28:14 -07:00
linter_lib lint: Disable a buggy `pep8` rule on line breaks and operators. 2017-10-26 10:29:17 -07:00
setup lint: Remove several unused imports. 2017-10-18 10:56:11 -07:00
tests lint: Remove several unused imports. 2017-10-18 10:56:11 -07:00
travis Travis: Use travis.yml built-in way to install moreutils. 2017-10-17 09:59:59 -07:00
zulip-export tools: Remove print_function. 2017-09-29 15:44:56 -07:00
README.md docs: Add README.md files for scripts/ and tools/. 2017-01-17 11:01:27 -08:00
__init__.py Add __init__.py to tools/ and tools/setup/. 2016-07-20 18:20:37 -07:00
build-deb
build-docs tools: Add wrapper tool 'build-docs' for building documentation. 2017-06-14 20:16:02 -07:00
build-release-tarball build-release-tarball: Fix missing CSS-inlined email templates. 2017-10-20 14:08:25 -07:00
check-capitalization tools: Remove print_function. 2017-09-29 15:44:56 -07:00
check-css tools: Remove print_function. 2017-09-29 15:44:56 -07:00
check-frontend-i18n tools: Remove print_function. 2017-09-29 15:44:56 -07:00
check-issue-labels tools: Remove print_function. 2017-09-29 15:44:56 -07:00
check-provision check-provision: Replace optparse with argparse. 2017-09-30 09:32:46 -07:00
check-swagger lint: Ban non-unique operationIds in Swagger. 2017-06-26 22:02:26 -04:00
check-templates features.html: Cleanup to use 4 space and consistant indentation. 2017-10-25 10:58:57 -07:00
check-urls tools: Remove print_function. 2017-09-29 15:44:56 -07:00
clean-branches tools: Update clean-branches to clean review branches. 2017-06-01 21:55:33 -07:00
clean-repo clean-repo: Revert optimization to .pyc removal. 2017-07-30 17:24:55 -07:00
commit-message-lint docs: Fix spelling of Travis CI. 2017-07-31 09:36:22 -07:00
commit-msg lint: Check if commit message is not empty before running gitlint. 2017-06-25 11:29:14 -04:00
compile-handlebars-templates tools: Remove print_function. 2017-09-29 15:44:56 -07:00
conf.ini-template Add tool for scanning issues without area labels. 2017-02-03 09:59:35 -08:00
coveragerc python3: Remove six.PY2/six.PY3 checks. 2017-08-25 11:06:43 -07:00
create-test-api-docs mypy: Any->Call in create_single_page() in create-test-api-docs. 2017-10-11 12:16:50 -07:00
deploy-branch
deployment-lock-ctl
diagnose provision_version: Move to under UUID_VAR_PATH. 2017-10-17 21:15:58 -07:00
django-template-graph Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
do-destroy-rebuild-database test_fixtures: Move test_db_status state under UUID_VAR_PATH. 2017-10-17 21:15:58 -07:00
do-destroy-rebuild-test-database Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
fetch-pull-request tools: Add script to see PRs as authors intended. 2017-06-01 21:55:08 -07:00
fetch-rebase-pull-request git tools: Make error messages more clear. 2017-05-08 10:51:59 -07:00
find-add-class tools: Remove print_function. 2017-09-29 15:44:56 -07:00
find-unused-css Add hackish tool for finding unused CSS. 2016-04-01 09:34:46 -07:00
get-handlebar-vars tools: Remove print_function. 2017-09-29 15:44:56 -07:00
html-grep html-grep: Replace optparse with argparse. 2017-09-30 09:35:40 -07:00
inline-email-css emails: Fix duplicate html structure added to compiled emails. 2017-09-27 16:48:18 -07:00
js-dep-visualizer.py tools: Remove print_function. 2017-09-29 15:44:56 -07:00
lint lint: Only run find_add_class when JS files change. 2017-08-27 13:51:06 -07:00
lister.py lister: Make excluding directories work on Windows. 2017-09-27 08:43:53 -07:00
minify-js tools: Remove print_function. 2017-09-29 15:44:56 -07:00
munge-postgres-logs tools: Remove `.pl` extension from user script. 2017-10-11 12:52:36 -07:00
optimize-svg tools: Add optimize-svg tool for checking for unoptimized SVG files. 2017-05-30 11:15:56 -07:00
pre-commit linter: Replace --pep8 with new --frontend/--backend options. 2017-08-27 13:50:53 -07:00
pretty-print-html tools: Remove print_function. 2017-09-29 15:44:56 -07:00
provision py3: Rely on the shebang to invoke provision too. 2017-08-16 17:54:43 -07:00
release-tarball-exclude.txt build-release-tarball: Stop using .gitattributes. 2017-10-11 21:51:42 -07:00
renumber-migrations tools: Remove print_function. 2017-09-29 15:44:56 -07:00
replace-tarball-shebang tools: Remove print_function. 2017-09-29 15:44:56 -07:00
replacer replacer: Run as script with python 3. 2017-10-05 10:07:54 -07:00
reset-to-pull-request git tools: Make error messages more clear. 2017-05-08 10:51:59 -07:00
review tools: Remove print_function. 2017-09-29 15:44:56 -07:00
run-dev-queue-processors tools: Remove absolute_import in most tools. 2017-09-29 12:28:43 -07:00
run-dev.py tools: Remove unused imports. 2017-10-02 10:13:48 -07:00
run-mypy tools: Remove print_function. 2017-09-29 15:44:56 -07:00
send-github-payloads json: Replace most use of simplejson with json. 2017-10-11 22:55:35 -07:00
setup-git-repo lint: Add checks for commit messages using gitlint. 2017-04-21 13:45:12 -07:00
show-profile-results tools: Remove `.py` extensions from user scripts. 2017-10-11 12:52:36 -07:00
start-dockers Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
stop-run-dev tools: Consistently use hyphen in user script names. 2017-10-11 12:52:36 -07:00
sync-translations tools: Add new script to sync translations. 2017-10-05 23:07:16 -07:00
test-all tools: Remove `.py` extensions from user scripts. 2017-10-11 12:52:36 -07:00
test-all-docker Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
test-api test-api: Fix tests to work with subdomains. 2017-10-02 13:31:22 -07:00
test-backend check_subdomain: Remove case for user_subdomain being None. 2017-10-18 22:35:07 -07:00
test-documentation tools: Add wrapper tool 'build-docs' for building documentation. 2017-06-14 20:16:02 -07:00
test-help-documentation tools: Remove `.py` extensions from user scripts. 2017-10-11 12:52:36 -07:00
test-js-with-casper
test-js-with-node test-js-with-node: Fix doing too many imports before sanity_check. 2017-10-17 22:22:00 -07:00
test-locked-requirements tools: Add a test for checking locked requirements. 2017-10-11 22:55:15 -07:00
test-migrations test-migrations: Fix error code bug. 2017-07-10 16:20:47 -07:00
test-queue-worker-reload py3: Remove "from six.moves import range". 2017-10-17 23:28:14 -07:00
test-run-dev py3: Remove "from six.moves import range". 2017-10-17 23:28:14 -07:00
test-tools tools: Remove print_function. 2017-09-29 15:44:56 -07:00
update-authors-json py3: Remove "from six.moves import range". 2017-10-17 23:28:14 -07:00
update-locked-requirements tools: Modify `update-locked-requirements` to take optional arguments. 2017-10-11 22:44:54 -07:00
update-prod-static tools: Remove absolute_import in most tools. 2017-09-29 12:28:43 -07:00
webpack tools: Remove absolute_import in most tools. 2017-09-29 12:28:43 -07:00
webpack.assets.json portico: Show whether the user is logged in. 2017-10-25 14:59:24 -07:00
webpack.config.ts webpack: jQuery and underscore should be compilied normally to make errors readable. 2017-08-05 19:53:56 -07:00
zanitizer
zanitizer_config.pm.sample

README.md

This directory contains scripts that are used in building, managing, testing, and other forms of work in a Zulip development environment. Note that tools that are also useful in production belong in scripts/ or should be Django management commands.

For more details, see http://zulip.readthedocs.io/en/latest/directory-structure.html.