From a3b1b6ddf81cdc0b253f15feeb167ff348afd14f Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Tue, 5 Jan 2021 11:29:39 -0500 Subject: Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes. --- cmd2/py_bridge.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'cmd2/py_bridge.py') diff --git a/cmd2/py_bridge.py b/cmd2/py_bridge.py index 38fef142..a9b8641d 100644 --- a/cmd2/py_bridge.py +++ b/cmd2/py_bridge.py @@ -5,10 +5,18 @@ while maintaining a reasonable degree of isolation between the two. """ import sys -from contextlib import redirect_stderr, redirect_stdout -from typing import Optional - -from .utils import StdSim, namedtuple_with_defaults +from contextlib import ( + redirect_stderr, + redirect_stdout, +) +from typing import ( + Optional, +) + +from .utils import ( + StdSim, + namedtuple_with_defaults, +) class CommandResult(namedtuple_with_defaults('CommandResult', ['stdout', 'stderr', 'stop', 'data'])): -- cgit v1.2.1