summaryrefslogtreecommitdiff
path: root/cmd2/argparse_custom.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-01-05 11:29:39 -0500
committerEric Lin <anselor@gmail.com>2021-01-21 10:24:08 -0500
commitf1f76a4ba207d802f78277d0ba3defa44cf7b973 (patch)
tree0a59103b35e9160aed2466fdafa0f8020c426bcc /cmd2/argparse_custom.py
parente0dee46ca871e56523059b1566577ff781f6fb63 (diff)
downloadcmd2-git-import_wrapping.tar.gz
Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes.import_wrapping
Diffstat (limited to 'cmd2/argparse_custom.py')
-rw-r--r--cmd2/argparse_custom.py23
1 files changed, 19 insertions, 4 deletions
diff --git a/cmd2/argparse_custom.py b/cmd2/argparse_custom.py
index d773f851..ae60d09e 100644
--- a/cmd2/argparse_custom.py
+++ b/cmd2/argparse_custom.py
@@ -220,10 +220,25 @@ import argparse
import re
import sys
# noinspection PyUnresolvedReferences,PyProtectedMember
-from argparse import ONE_OR_MORE, ZERO_OR_MORE, ArgumentError, _
-from typing import Any, Callable, Optional, Tuple, Type, Union
-
-from . import ansi, constants
+from argparse import (
+ ONE_OR_MORE,
+ ZERO_OR_MORE,
+ ArgumentError,
+ _,
+)
+from typing import (
+ Any,
+ Callable,
+ Optional,
+ Tuple,
+ Type,
+ Union,
+)
+
+from . import (
+ ansi,
+ constants,
+)
############################################################################################################
# The following are names of custom argparse argument attributes added by cmd2