summaryrefslogtreecommitdiff
path: root/pylint/pyreverse/printer_factory.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/pyreverse/printer_factory.py')
-rw-r--r--pylint/pyreverse/printer_factory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/pyreverse/printer_factory.py b/pylint/pyreverse/printer_factory.py
index c52f24a4d..d38b2d869 100644
--- a/pylint/pyreverse/printer_factory.py
+++ b/pylint/pyreverse/printer_factory.py
@@ -3,14 +3,14 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
-from typing import Type
+from typing import Dict, Type
from pylint.pyreverse.dot_printer import DotPrinter
from pylint.pyreverse.plantuml_printer import PlantUmlPrinter
from pylint.pyreverse.printer import Printer
from pylint.pyreverse.vcg_printer import VCGPrinter
-filetype_to_printer = {
+filetype_to_printer: Dict[str, Type[Printer]] = {
"vcg": VCGPrinter,
"plantuml": PlantUmlPrinter,
"puml": PlantUmlPrinter,