Skip to content

Please provide a better entry point to pyreverse #5320

@NeilGirdhar

Description

@NeilGirdhar

Current problem

Currently, I have to do:

import pylint

# Set name.
# Collect filenames in files...

sys.argv = 'pyreverse -o png -p'.split() + [name] + files
try:
    pylint.run_pyreverse()
except SystemExit:
    pass  # pylint always does this.

Desired solution

I would like to do something like:

import pylint

pylint.pyreverse(output=pylint.PNG, project=name, files=files)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement ✨Improvement to a componentpyreverseRelated to pyreverse component

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions