How can I generate a UML diagram in VSC from Python code?

77 Views Asked by At

When I use pylint for this I get an error message. I have tried it with pylint, see below:

py -m pylint --generate-uml -o $Path code.py

Add I get the following error message: pylint: error: Unrecognized option found: generate-uml, o,

I also tried it directly with pyreverse, that didn't work either.

1

There are 1 best solutions below

1
Pierre.Sassoulas On BEST ANSWER

pyreverse does that, the command need to be launched with pyreverse code.py. Check the output of pyreverse --helpfor more details.