Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 23, 2022
1 parent 4af97a7 commit ae4c862
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/globus_cli/parsing/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def __init__(self, *args, **kwargs):
kwargs["context_settings"] = {}
if "max_content_width" not in kwargs["context_settings"]:
term_size = get_terminal_size(fallback=(80, 20))
kwargs["context_settings"]["max_content_width"] = int(0.8 * term_size.columns)
kwargs["context_settings"]["max_content_width"] = int(
0.8 * term_size.columns
)
super().__init__(*args, **kwargs)

def invoke(self, ctx):
Expand Down

0 comments on commit ae4c862

Please sign in to comment.