Search code examples
pythonumlreverse-engineeringpylint

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


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.


Solution

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