summaryrefslogtreecommitdiff
path: root/cmd2/decorators.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/decorators.py')
-rw-r--r--cmd2/decorators.py30
1 files changed, 24 insertions, 6 deletions
diff --git a/cmd2/decorators.py b/cmd2/decorators.py
index 4ee61754..c498550d 100644
--- a/cmd2/decorators.py
+++ b/cmd2/decorators.py
@@ -1,12 +1,30 @@
# coding=utf-8
"""Decorators for ``cmd2`` commands"""
import argparse
-from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Tuple, Union
-
-from . import constants
-from .argparse_custom import Cmd2AttributeWrapper
-from .exceptions import Cmd2ArgparseError
-from .parsing import Statement
+from typing import (
+ TYPE_CHECKING,
+ Any,
+ Callable,
+ Dict,
+ Iterable,
+ List,
+ Optional,
+ Tuple,
+ Union,
+)
+
+from . import (
+ constants,
+)
+from .argparse_custom import (
+ Cmd2AttributeWrapper,
+)
+from .exceptions import (
+ Cmd2ArgparseError,
+)
+from .parsing import (
+ Statement,
+)
if TYPE_CHECKING: # pragma: no cover
import cmd2