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/cmd2.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/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index d14b4d99..49c181f1 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -42,17 +42,14 @@ from collections import namedtuple from contextlib import redirect_stdout from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Tuple, Type, Union -from . import ansi -from . import constants -from . import plugin -from . import utils -from .argparse_custom import CompletionItem, DEFAULT_ARGUMENT_PARSER +from . import ansi, constants, plugin, utils +from .argparse_custom import DEFAULT_ARGUMENT_PARSER, CompletionItem from .clipboard import can_clip, get_paste_buffer, write_to_paste_buffer from .decorators import with_argparser from .exceptions import Cmd2ArgparseError, Cmd2ShlexError, EmbeddedConsoleExit, EmptyStatement, RedirectionError from .history import History, HistoryItem -from .parsing import StatementParser, Statement, Macro, MacroArg, shlex_split -from .rl_utils import rl_type, RlType, rl_get_point, rl_set_prompt, vt100_support, rl_make_safe_prompt, rl_warning +from .parsing import Macro, MacroArg, Statement, StatementParser, shlex_split +from .rl_utils import RlType, rl_get_point, rl_make_safe_prompt, rl_set_prompt, rl_type, rl_warning, vt100_support from .utils import CompletionError, Settable # Set up readline |