From 6b0448e7f72ae338682df2c1371caca5d889c164 Mon Sep 17 00:00:00 2001 From: Olzhas Arystanov Date: Wed, 8 May 2024 22:00:48 +0500 Subject: [PATCH] Format with yapf --- b2/_internal/arg_parser.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/b2/_internal/arg_parser.py b/b2/_internal/arg_parser.py index 95154fde..ddfe9d3f 100644 --- a/b2/_internal/arg_parser.py +++ b/b2/_internal/arg_parser.py @@ -91,7 +91,9 @@ def __init__( self._description = None self._for_docs = for_docs self.deprecated = deprecated - self._short_description = self._make_short_description(kwargs.get('usage', ''), kwargs.get('description', '')) + self._short_description = self._make_short_description( + kwargs.get('usage', ''), kwargs.get('description', '') + ) kwargs.setdefault('formatter_class', B2RawTextHelpFormatter) super().__init__(*args, **kwargs) @@ -118,9 +120,7 @@ def _encode_description(self, value: str): return textwrap.dedent(value) else: encoding = self._get_encoding() - return rst2ansi( - value.encode(encoding), output_encoding=encoding - ) + return rst2ansi(value.encode(encoding), output_encoding=encoding) def _make_short_description(self, usage: str, raw_description: str) -> str: if usage: