X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/pylint/pyreverse
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint
/
pyreverse
/
ðŸ“
..
📄
__init__.py
(274 B)
ðŸ“
__pycache__
📄
diadefslib.py
(8.5 KB)
📄
diagrams.py
(10.62 KB)
📄
dot_printer.py
(6.33 KB)
📄
inspector.py
(14.72 KB)
📄
main.py
(8.76 KB)
📄
mermaidjs_printer.py
(3.47 KB)
📄
plantuml_printer.py
(3.56 KB)
📄
printer.py
(3.65 KB)
📄
printer_factory.py
(900 B)
📄
utils.py
(8.13 KB)
📄
vcg_printer.py
(8.67 KB)
📄
writer.py
(6.09 KB)
Editing: printer_factory.py
# 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 # Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt from __future__ import annotations from pylint.pyreverse.dot_printer import DotPrinter from pylint.pyreverse.mermaidjs_printer import HTMLMermaidJSPrinter, MermaidJSPrinter from pylint.pyreverse.plantuml_printer import PlantUmlPrinter from pylint.pyreverse.printer import Printer from pylint.pyreverse.vcg_printer import VCGPrinter filetype_to_printer: dict[str, type[Printer]] = { "vcg": VCGPrinter, "plantuml": PlantUmlPrinter, "puml": PlantUmlPrinter, "mmd": MermaidJSPrinter, "html": HTMLMermaidJSPrinter, "dot": DotPrinter, } def get_printer_for_filetype(filetype: str) -> type[Printer]: return filetype_to_printer.get(filetype, DotPrinter)
Upload File
Create Folder