diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-21 11:46:09 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-21 11:46:09 -0500 |
commit | ccb50f33b5cdff1f354bdc24618a6c665f3ab68a (patch) | |
tree | e918fab3b62b78929b298492187aa26c70f73b6c /cmd2/exceptions.py | |
parent | 9c60ac6f3169f9df37e6c5166844fb9cf5f6766d (diff) | |
download | cmd2-git-ccb50f33b5cdff1f354bdc24618a6c665f3ab68a.tar.gz |
Start making small changes to fix mypy warnings
Diffstat (limited to 'cmd2/exceptions.py')
-rw-r--r-- | cmd2/exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/exceptions.py b/cmd2/exceptions.py index c662d8fa..39b7e333 100644 --- a/cmd2/exceptions.py +++ b/cmd2/exceptions.py @@ -49,7 +49,7 @@ class CompletionError(Exception): - Tab completion hints """ - def __init__(self, *args, apply_style: bool = True, **kwargs): + def __init__(self, *args, apply_style: bool = True): """ Initializer for CompletionError :param apply_style: If True, then ansi.style_error will be applied to the message text when printed. @@ -59,7 +59,7 @@ class CompletionError(Exception): self.apply_style = apply_style # noinspection PyArgumentList - super().__init__(*args, **kwargs) + super().__init__(*args) ############################################################################################################ |