diff options
Diffstat (limited to 'cmd2/table_creator.py')
| -rw-r--r-- | cmd2/table_creator.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/cmd2/table_creator.py b/cmd2/table_creator.py index f5bf4a1b..3a3892b8 100644 --- a/cmd2/table_creator.py +++ b/cmd2/table_creator.py @@ -8,8 +8,12 @@ There are already implemented and ready-to-use examples of this below TableCreat import copy import functools import io -from collections import deque -from enum import Enum +from collections import ( + deque, +) +from enum import ( + Enum, +) from typing import ( Any, Optional, @@ -18,7 +22,9 @@ from typing import ( Union, ) -from wcwidth import wcwidth +from wcwidth import ( + wcwidth, +) from . import ( ansi, @@ -28,7 +34,9 @@ from . import ( # This is needed for compatibility with early versions of Python 3.5 prior to 3.5.4 try: - from typing import Deque + from typing import ( + Deque, + ) except ImportError: # pragma: no cover import typing |
