Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

lint: Add missing spaces at line wraps, remove periods.

Alex Vandiver3e6cc49ab5f6
diff --git a/tools/lint b/tools/lint
index 4c1d2471341..a2fcc86fc93 100755
--- a/tools/lint
+++ b/tools/lint
@@ -55,7 +55,7 @@ def run() -> None:
linter_config.external_linter('eslint', ['node', 'node_modules/.bin/eslint',
'--quiet', '--cache', '--ext', '.js,.ts'], ['js', 'ts'],
fix_arg='--fix',
- description="Standard JavaScript style and formatting linter"
+ description="Standard JavaScript style and formatting linter "
"(config: .eslintrc).")
linter_config.external_linter('puppet', ['puppet', 'parser', 'validate'], ['pp'],
description="Runs the puppet parser validator, "
@@ -64,17 +64,17 @@ def run() -> None:
['puppet-lint', '--fail-on-warnings', *PUPPET_CHECK_RULES_TO_EXCLUDE],
['pp'],
fix_arg='--fix',
- description="Standard puppet linter"
+ description="Standard puppet linter "
"(config: tools/linter_lib/exclude.py)")
linter_config.external_linter('templates', ['tools/check-templates'], ['hbs', 'html'],
- description="Custom linter checks whitespace formatting"
- "of HTML templates.",
+ description="Custom linter checks whitespace formatting "
+ "of HTML templates",
fix_arg='--fix')
linter_config.external_linter('openapi', ['node', 'tools/check-openapi'], ['yaml'],
- description="Validates our OpenAPI/Swagger API documentation"
+ description="Validates our OpenAPI/Swagger API documentation "
"(zerver/openapi/zulip.yaml) ")
linter_config.external_linter('shellcheck', ['shellcheck', '-x', '-P', 'SCRIPTDIR'], ['sh'],
- description="Standard shell script linter.")
+ description="Standard shell script linter")
command = ['tools/run-mypy', '--quiet']
if args.force:
command.append('--force')
@@ -86,7 +86,7 @@ def run() -> None:
pass_targets=False,
description="Shares duplicate packages in yarn.lock")
linter_config.external_linter('gitlint', ['tools/commit-message-lint'],
- description="Checks commit messages for common formatting errors."
+ description="Checks commit messages for common formatting errors "
"(config: .gitlint)")
linter_config.external_linter('isort', ['isort'], ['py'],
description="Sorts Python import statements",