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. --- examples/modular_commands/commandset_basic.py | 18 ++++++++++++++---- examples/modular_commands/commandset_complex.py | 8 ++++++-- examples/modular_commands/commandset_custominit.py | 7 ++++++- 3 files changed, 26 insertions(+), 7 deletions(-) (limited to 'examples/modular_commands') diff --git a/examples/modular_commands/commandset_basic.py b/examples/modular_commands/commandset_basic.py index 2ceda439..4417bfe5 100644 --- a/examples/modular_commands/commandset_basic.py +++ b/examples/modular_commands/commandset_basic.py @@ -2,10 +2,20 @@ """ A simple example demonstrating a loadable command set """ -from typing import List - -from cmd2 import Cmd, CommandSet, Statement, with_category, with_default_category -from cmd2.utils import CompletionError +from typing import ( + List, +) + +from cmd2 import ( + Cmd, + CommandSet, + Statement, + with_category, + with_default_category, +) +from cmd2.utils import ( + CompletionError, +) @with_default_category('Basic Completion') diff --git a/examples/modular_commands/commandset_complex.py b/examples/modular_commands/commandset_complex.py index 579c0677..4905265a 100644 --- a/examples/modular_commands/commandset_complex.py +++ b/examples/modular_commands/commandset_complex.py @@ -5,10 +5,14 @@ Test CommandSet """ import argparse -from typing import List +from typing import ( + List, +) import cmd2 -from cmd2 import utils +from cmd2 import ( + utils, +) @cmd2.with_default_category('Fruits') diff --git a/examples/modular_commands/commandset_custominit.py b/examples/modular_commands/commandset_custominit.py index 2ef94a75..e24ac291 100644 --- a/examples/modular_commands/commandset_custominit.py +++ b/examples/modular_commands/commandset_custominit.py @@ -2,7 +2,12 @@ """ A simple example demonstrating a loadable command set """ -from cmd2 import Cmd, CommandSet, Statement, with_default_category +from cmd2 import ( + Cmd, + CommandSet, + Statement, + with_default_category, +) @with_default_category('Custom Init') -- cgit v1.2.1