Skip to content

Commit 7cdd45b

Browse files
committed
fixed linting errors
1 parent 05690c3 commit 7cdd45b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

stackql_deploy/cli.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -387,28 +387,23 @@ def upgrade(ctx):
387387

388388
@cli.command()
389389
@click.argument(
390-
'shell',
390+
'shell',
391391
type=click.Choice(['bash', 'zsh', 'fish', 'powershell'], case_sensitive=False)
392392
)
393393
def completion(shell):
394394
"""Generate shell completion script for the specified shell.
395-
396395
To enable tab completion, run one of the following:
397-
398396
For bash (add to ~/.bashrc):
399397
eval "$(_STACKQL_DEPLOY_COMPLETE=bash_source stackql-deploy)"
400-
401398
For zsh (add to ~/.zshrc):
402399
eval "$(_STACKQL_DEPLOY_COMPLETE=zsh_source stackql-deploy)"
403-
404400
For fish (add to ~/.config/fish/config.fish):
405401
eval (env _STACKQL_DEPLOY_COMPLETE=fish_source stackql-deploy)
406-
407402
For PowerShell (add to $PROFILE):
408403
Invoke-Expression (& stackql-deploy completion powershell)
409404
"""
410405
shell_lower = shell.lower()
411-
406+
412407
if shell_lower == 'bash':
413408
click.echo('eval "$(_STACKQL_DEPLOY_COMPLETE=bash_source stackql-deploy)"')
414409
elif shell_lower == 'zsh':

0 commit comments

Comments
 (0)