diff options
author | Eric Lin <anselor@gmail.com> | 2021-01-05 11:29:39 -0500 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2021-01-22 10:40:50 -0500 |
commit | a3b1b6ddf81cdc0b253f15feeb167ff348afd14f (patch) | |
tree | 2556f4aa57d02e12526949c08cf032c3e1a67d11 /cmd2/command_definition.py | |
parent | c1859045c8d439932fac9ceb5203a400db609533 (diff) | |
download | cmd2-git-a3b1b6ddf81cdc0b253f15feeb167ff348afd14f.tar.gz |
Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes.
Diffstat (limited to 'cmd2/command_definition.py')
-rw-r--r-- | cmd2/command_definition.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/cmd2/command_definition.py b/cmd2/command_definition.py index 3f05792c..c85814d7 100644 --- a/cmd2/command_definition.py +++ b/cmd2/command_definition.py @@ -2,10 +2,18 @@ """ Supports the definition of commands in separate classes to be composed into cmd2.Cmd """ -from typing import Optional, Type - -from .constants import CLASS_ATTR_DEFAULT_HELP_CATEGORY, COMMAND_FUNC_PREFIX -from .exceptions import CommandSetRegistrationError +from typing import ( + Optional, + Type, +) + +from .constants import ( + CLASS_ATTR_DEFAULT_HELP_CATEGORY, + COMMAND_FUNC_PREFIX, +) +from .exceptions import ( + CommandSetRegistrationError, +) # Allows IDEs to resolve types without impacting imports at runtime, breaking circular dependency issues try: # pragma: no cover |