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

[FEATURE REQUEST] Run Vulture make_config() as to allow loading of pyproject.toml #398

Open
laundmo opened this issue Dec 30, 2020 · 0 comments

Comments

@laundmo
Copy link

laundmo commented Dec 30, 2020

Is your feature request related to a problem? Please describe.
Vulture often false-positives when using Frameworks like Flask, since it doesn't know that decorated functions are called by the framework. This obviously leads to a lot of mistaken errors.

Describe the solution you'd like
I would like Prospector to run Vulture similar to how the main() function in Vulture runs, by first loading the config using vulture.config.make_config(). This would allow Vulture to load the pyproject.toml.

Describe alternatives you've considered
Alternatives could include Prospector handing the config for Vulture, but allowing config through the pyproject.toml would mean that config changes dont need to be added to Prospector.

Additional context
Possibly related to #376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant