zulip/tools
Christie Koehler 7f48b3c137 tools: Update pre-commit hook so it works with vagrant dev setup.
Details:

Previously this hook required that you either be inside the vagrant
Zulip dev virtual machine when you ran git commit or that you had setup
your Zulip dev environment manually.

Now the script runs the linter via vagrant ssh if the following
conditions are met:

- VIRTUAL_ENV is not set
- vagrant is installed and a .vagrant directory exists in the repo

Otherwise the linter is run as it was before.

[tweaked to fix a few style things by tabbott]
2016-08-25 15:19:40 -07:00
..
deprecated show-last-messages: Fix line with length greater than 120 characters. 2016-08-19 11:56:43 -07:00
jslint Move respond_to_message to compose.js. 2016-06-29 13:04:02 -07:00
lib lint: Allow anchor tags to span up to four lines. 2016-08-18 14:12:32 -07:00
print-all Remove unused puppet-common third-party module code. 2016-07-31 19:24:42 -07:00
setup zulip_tools.py: Move zulip_tools.py in scripts/lib. 2016-08-15 16:44:50 -07:00
tests lint: Allow anchor tags to span up to four lines. 2016-08-18 14:12:32 -07:00
travis settings: Eliminate ADMIN_DOMAIN for creating initial realm. 2016-08-25 09:37:33 -07:00
zulip-export tools/zulip-export/zulip-export: Fix how files are opened. 2016-07-24 22:32:08 +05:30
__init__.py Add __init__.py to tools/ and tools/setup/. 2016-07-20 18:20:37 -07:00
analyze-url-coverage Add tools/analyze-url-coverage 2016-07-29 21:23:33 -07:00
build-api-tarball api: Include get_subscribers endpoint in public release. 2016-01-23 11:38:42 -08:00
build-deb Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
build-release-tarball update-prod-static: Fix buggy color code usage. 2016-08-22 16:38:23 -07:00
check-css Add tools/check-css and tools/lib/css_parser.py. 2016-08-02 16:22:46 -07:00
check-py3 check-py3: Display git status --porcelain output. 2016-05-12 16:30:58 -07:00
check-templates Make fn param optional with template_parser.validate(). 2016-08-04 10:47:09 -07:00
clean-branches Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
clean-repo Remove __pycache__ in tools/clean-repo. 2016-05-24 13:43:49 -07:00
clean-venv-cache clean-venv-cache: Fix python 3 compatibility. 2016-06-27 20:39:22 -07:00
compile-handlebars-templates Annotate tools/compile-handlebars-templates. 2016-07-24 21:07:06 +05:30
deploy-branch Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
deployment-lock-ctl Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
django-template-graph Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
do-destroy-rebuild-database Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
do-destroy-rebuild-test-database Move tools/generate-fixtures to tools/setup/. 2016-05-26 17:54:32 +05:00
fetch-rebase-pull-request tools: Use 'upstream' as expected name for main zulip repo. 2016-08-24 14:23:37 -07:00
find-add-class Add tools/find-add-class to tools/lint-all. 2016-08-08 15:32:48 -07:00
find-unused-css Add hackish tool for finding unused CSS. 2016-04-01 09:34:46 -07:00
get-handlebar-vars Annotate tools/get-handlebar-vars. 2016-07-24 22:12:32 +05:30
html-grep Add tools/html-grep. 2016-08-03 11:29:37 -07:00
install-mypy Move mypy requirements to requirements/ directory. 2016-06-18 16:41:40 -07:00
lint-all lint: Ban lines longer than 140 characters without #ignorelongline. 2016-08-19 12:03:09 -07:00
lister.py Add option to only show extensionless files in lister. 2016-07-21 16:59:52 +05:30
minify-js tools/: Make subprocess calls unicode-aware. 2016-07-26 12:06:41 -07:00
munge_postgres_logs.pl Make munge_postgres_logs.pl executable 2013-01-29 12:16:32 -05:00
node Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
post-receive zulip_tools.py: Move zulip_tools.py in scripts/lib. 2016-08-15 16:44:50 -07:00
pre-commit tools: Update pre-commit hook so it works with vagrant dev setup. 2016-08-25 15:19:40 -07:00
provision.py zulip_tools.py: Move zulip_tools.py in scripts/lib. 2016-08-15 16:44:50 -07:00
reset-to-pull-request tools: Use 'upstream' as expected name for main zulip repo. 2016-08-24 14:23:37 -07:00
run-dev-queue-processors Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
run-dev.py Annotate tools/run-dev.py. 2016-08-04 15:57:02 -07:00
run-graphiti [manual] Rename /home/humbug to /home/zulip. 2013-10-08 08:57:29 -04:00
run-mypy test_messages: Fix remaining mypy errors. 2016-08-04 15:57:03 -07:00
send_github_payloads.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
setup-git-repo Remove git commit domain restrictions. 2015-08-19 21:40:04 -07:00
show-profile-results.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
start-dockers Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
test-all Add test coverage for parsers in tools/lib. 2016-08-04 10:47:09 -07:00
test-all-docker Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
test-backend Add --url-coverage option to ./tools/test-backend. 2016-07-29 21:23:33 -07:00
test-js-with-casper casper: Rename frontend_tests/run to clarify it uses casper. 2015-10-28 10:11:47 -07:00
test-js-with-node Cleanup result message code in test-js-with-node. 2016-08-09 16:46:24 -07:00
test-management Add new test for management commands running with --help. 2015-11-11 21:34:39 -08:00
test-migrations test-migrations: Fix missing exit status on error. 2016-06-15 09:26:04 -07:00
test-queue-worker-reload Fix and re-enable test-queue-worker-reload. 2016-08-10 16:17:23 -07:00
test-run-dev check_send_receive_time: Cleanup unnecessary print statement. 2016-08-11 14:48:21 -07:00
test-tools Add test coverage for parsers in tools/lib. 2016-08-04 10:47:09 -07:00
test_user_agent_parsing.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
update-deployment Move update-deployment to scripts/deploy-zulip-from-git. 2016-08-02 14:31:07 -07:00
update-prod-static npm: Split out production-only dependencies. 2016-08-04 22:17:07 -07:00
user_agents_unique Kill Embed.ly integration. 2015-08-20 19:46:48 -07:00
webpack webpack: Use the correct port in Casper tests. 2016-04-13 13:18:38 -07:00
webpack.config.js run-dev: Hardcode 127.0.0.1 rather than localhost. 2016-07-27 11:39:12 -07:00
webpack.production.config.js Move webpack configuration to tools/. 2016-04-06 08:09:55 -07:00
zanitizer zanitizer: Remove -- argument that confuses some Git verisons 2015-09-25 00:46:00 -07:00
zanitizer_config.pm.sample zanitizer: Support renaming files 2015-09-24 18:10:02 -07:00