Skip to content

Commit ceb2410

Browse files
authored
pyreverse: drop support for .vcg format (#8426)
1 parent ab20812 commit ceb2410

File tree

12 files changed

+5
-405
lines changed

12 files changed

+5
-405
lines changed

doc/pyreverse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Pyreverse
55

66
``pyreverse`` analyzes your source code and generates package and class diagrams.
77

8-
It supports output to ``.dot``/``.gv``, ``.vcg``, ``.puml``/``.plantuml`` (PlantUML) and ``.mmd``/``.html`` (MermaidJS) file formats.
8+
It supports output to ``.dot``/``.gv``, ``.puml``/``.plantuml`` (PlantUML) and ``.mmd``/``.html`` (MermaidJS) file formats.
99
If Graphviz (or the ``dot`` command) is installed, all `output formats supported by Graphviz <https://graphviz.org/docs/outputs/>`_
1010
can be used as well. In this case, ``pyreverse`` first generates a temporary ``.gv`` file, which is then
1111
fed to Graphviz to generate the final image.

doc/whatsnew/fragments/8416.breaking

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
``pyreverse``: Support for the ``.vcg`` output format (Visualaization of Compiler Graphs) has been dropped.
2+
3+
Closes #8416

pylint/pyreverse/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
DIRECTLY_SUPPORTED_FORMATS = (
2929
"dot",
30-
"vcg",
3130
"puml",
3231
"plantuml",
3332
"mmd",

pylint/pyreverse/printer_factory.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
from pylint.pyreverse.mermaidjs_printer import HTMLMermaidJSPrinter, MermaidJSPrinter
99
from pylint.pyreverse.plantuml_printer import PlantUmlPrinter
1010
from pylint.pyreverse.printer import Printer
11-
from pylint.pyreverse.vcg_printer import VCGPrinter
1211

1312
filetype_to_printer: dict[str, type[Printer]] = {
14-
"vcg": VCGPrinter,
1513
"plantuml": PlantUmlPrinter,
1614
"puml": PlantUmlPrinter,
1715
"mmd": MermaidJSPrinter,

pylint/pyreverse/vcg_printer.py

Lines changed: 0 additions & 296 deletions
This file was deleted.

pylint/pyreverse/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
33
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
44

5-
"""Utilities for creating VCG and Dot diagrams."""
5+
"""Utilities for creating diagrams."""
66

77
from __future__ import annotations
88

tests/pyreverse/conftest.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ def colorized_dot_config() -> PyreverseConfig:
2828
)
2929

3030

31-
@pytest.fixture()
32-
def vcg_config() -> PyreverseConfig:
33-
return PyreverseConfig(
34-
output_format="vcg",
35-
)
36-
37-
3831
@pytest.fixture()
3932
def puml_config() -> PyreverseConfig:
4033
return PyreverseConfig(

0 commit comments

Comments
 (0)