Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide a better entry point to pyreverse #5320

Closed
NeilGirdhar opened this issue Nov 15, 2021 · 1 comment · Fixed by #5613
Closed

Please provide a better entry point to pyreverse #5320

NeilGirdhar opened this issue Nov 15, 2021 · 1 comment · Fixed by #5613
Labels
Enhancement ✨ Improvement to a component pyreverse Related to pyreverse component
Milestone

Comments

@NeilGirdhar
Copy link

NeilGirdhar commented Nov 15, 2021

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)
@NeilGirdhar NeilGirdhar added Enhancement ✨ Improvement to a component Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels Nov 15, 2021
@Pierre-Sassoulas Pierre-Sassoulas added pyreverse Related to pyreverse component and removed Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels Nov 16, 2021
@Pierre-Sassoulas
Copy link
Member

This is reasonable and should not take too long either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Improvement to a component pyreverse Related to pyreverse component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants