diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2022-02-23 19:44:38 -0500 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2022-02-23 19:44:38 -0500 |
commit | 379d9677ca2c204604e209e1c67df7cbb597a6ea (patch) | |
tree | 2973f865368152413981af32d57cb6c6b1b4912c | |
parent | e27a86e486077626c0e14f1fdd159dad7540ced2 (diff) | |
download | asciidoc-py3-379d9677ca2c204604e209e1c67df7cbb597a6ea.tar.gz |
Improve typing for Plugin init
-rw-r--r-- | asciidoc/plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/asciidoc/plugin.py b/asciidoc/plugin.py index 87e50f9..765019b 100644 --- a/asciidoc/plugin.py +++ b/asciidoc/plugin.py @@ -5,6 +5,7 @@ import sys from typing import NoReturn import zipfile +from .message import Message from .utils import userdir @@ -14,7 +15,7 @@ class Plugin: """ CMDS = ('install', 'remove', 'list', 'build') - def __init__(self, type: str, message, config): + def __init__(self, type: str, message: Message, config): self.type = type self.message = message self.config = config |