summaryrefslogtreecommitdiff
path: root/cmd2/argcomplete_bridge.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-12-06 12:29:29 -0500
committerGitHub <noreply@github.com>2018-12-06 12:29:29 -0500
commitea182bbea386288b1acfbc35c99243a457ff1036 (patch)
treed3641a78217bbb79cbe039f80648b44b2fbdd0a4 /cmd2/argcomplete_bridge.py
parent709af49a7f161c98260cc5ddda736987fb0f1f23 (diff)
parent9d90c1eb57c62ba1fcd8e470fa2e27248e1e9064 (diff)
downloadcmd2-git-ea182bbea386288b1acfbc35c99243a457ff1036.tar.gz
Merge pull request #607 from python-cmd2/flake8
Fix flake8 issues
Diffstat (limited to 'cmd2/argcomplete_bridge.py')
-rw-r--r--cmd2/argcomplete_bridge.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd2/argcomplete_bridge.py b/cmd2/argcomplete_bridge.py
index 51e856ef..885cea31 100644
--- a/cmd2/argcomplete_bridge.py
+++ b/cmd2/argcomplete_bridge.py
@@ -28,7 +28,6 @@ else:
from . import constants
from . import utils
-
def tokens_for_completion(line: str, endidx: int) -> Union[Tuple[List[str], List[str], int, int],
Tuple[None, None, None, None]]:
"""
@@ -254,7 +253,6 @@ else:
argcomplete.debug_stream.flush()
exit_method(0)
-
def bash_complete(action, show_hint: bool = True):
"""Helper function to configure an argparse action to fall back to bash completion.