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

Investigate using Vulture to find dead code #505

Open
jzohrab opened this issue Oct 30, 2024 · 0 comments
Open

Investigate using Vulture to find dead code #505

jzohrab opened this issue Oct 30, 2024 · 0 comments
Labels
code-improvement Make code/structure better help wanted Extra attention is needed

Comments

@jzohrab
Copy link
Collaborator

jzohrab commented Oct 30, 2024

https://pypi.org/project/vulture/ looks like a potentially useful tool.

I believe that pylint is already finding unused vars, but it's not finding dead code.

I guess vulture would need to ignore all of the flask endpoints, as they're only called when needed.

The vulture pip dependency should be added to the requirements-dev.txt file. Some config can likely be added ... somewhere.

@jzohrab jzohrab added help wanted Extra attention is needed code-improvement Make code/structure better labels Oct 30, 2024
@jzohrab jzohrab added this to Lute-v3 Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-improvement Make code/structure better help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

1 participant