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 /plugins/template/cmd2_myplugin | |
| 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 'plugins/template/cmd2_myplugin')
| -rw-r--r-- | plugins/template/cmd2_myplugin/__init__.py | 5 | ||||
| -rw-r--r-- | plugins/template/cmd2_myplugin/myplugin.py | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/plugins/template/cmd2_myplugin/__init__.py b/plugins/template/cmd2_myplugin/__init__.py index 838d828a..daa20e71 100644 --- a/plugins/template/cmd2_myplugin/__init__.py +++ b/plugins/template/cmd2_myplugin/__init__.py @@ -5,7 +5,10 @@ An overview of what myplugin does. """ -from .myplugin import MyPluginMixin, empty_decorator # noqa: F401 +from .myplugin import ( # noqa: F401 + MyPluginMixin, + empty_decorator, +) try: # For python 3.8 and later diff --git a/plugins/template/cmd2_myplugin/myplugin.py b/plugins/template/cmd2_myplugin/myplugin.py index 816198b0..c0467366 100644 --- a/plugins/template/cmd2_myplugin/myplugin.py +++ b/plugins/template/cmd2_myplugin/myplugin.py @@ -3,7 +3,10 @@ """An example cmd2 plugin""" import functools -from typing import TYPE_CHECKING, Callable +from typing import ( + TYPE_CHECKING, + Callable, +) import cmd2 |
