lint: Add shfmt as a linter.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-10-14 19:56:18 -07:00
committed by Tim Abbott
parent dfaea9df65
commit 6099612a15
4 changed files with 29 additions and 3 deletions

View File

@@ -381,6 +381,8 @@ def main(options: argparse.Namespace) -> "NoReturn":
# Install shellcheck.
run_as_root(["tools/setup/install-shellcheck"])
# Install shfmt.
run_as_root(["tools/setup/install-shfmt"])
setup_venvs.main()