diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-04-24 21:15:34 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-04-24 21:21:35 -0400 |
commit | 9b78cf4913202995dcf065ecf5077bf16fa01f95 (patch) | |
tree | a04ca95d6f67bae491f290cc71036d2a4f6b168c /cmd2/py_bridge.py | |
parent | 9c7bbfa5bdbf8c8d81c0cd3c3cd5179d700de0b2 (diff) | |
download | cmd2-git-9b78cf4913202995dcf065ecf5077bf16fa01f95.tar.gz |
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
Diffstat (limited to 'cmd2/py_bridge.py')
-rw-r--r-- | cmd2/py_bridge.py | 4 |
1 files changed, 2 insertions, 2 deletions
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'])): |