Skip to content

Generated mermaid files do not implement the --module-names option of pyreverse. #10164

Open
@frank-pet

Description

@frank-pet

Bug description

The mermaid files generated by the -ommd option do not implement the -m, --module-names option. An inspection of pyreverse/mermaidjs_printer.py shows that the module information indeed present and removed before outputting it to the mermaid file.

Note that -m[y|n] works fine for .dot files...

Configuration

pylint/pyreverse/mermaidjs_printer.py

Command used

pyreverse -A -my -f ALL -ommd filename.py

Pylint output

valid mermaid file with only the classnames in the output.

Expected behavior

Would expect to see "modulename.classname" in the mermaid file, vs just "classname".

Pylint version

pylint 2.16.2, but also in 3.3.0 at lines 60, 76, and 77.

OS / Environment

debian bookworm, arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement ✨Improvement to a componentpyreverseRelated to pyreverse component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions