From 9b78cf4913202995dcf065ecf5077bf16fa01f95 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Fri, 24 Apr 2020 21:15:34 -0400 Subject: Added info on semantic versioning and branching strategy to CONTRIBUTING.md Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes --- cmd2/py_bridge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd2/py_bridge.py') diff --git a/cmd2/py_bridge.py b/cmd2/py_bridge.py index 0dc04ca6..38fef142 100644 --- a/cmd2/py_bridge.py +++ b/cmd2/py_bridge.py @@ -5,10 +5,10 @@ while maintaining a reasonable degree of isolation between the two. """ import sys -from contextlib import redirect_stdout, redirect_stderr +from contextlib import redirect_stderr, redirect_stdout from typing import Optional -from .utils import namedtuple_with_defaults, StdSim +from .utils import StdSim, namedtuple_with_defaults class CommandResult(namedtuple_with_defaults('CommandResult', ['stdout', 'stderr', 'stop', 'data'])): -- cgit v1.2.1