-
Notifications
You must be signed in to change notification settings - Fork 148
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
False-positives for Flask #232
Comments
Regarding ignoring results for functions which are decorated by some specific decorator:
For your use case, I think you can invoke Vulture like following:
To deal with from vulture.whitelists.whitelist_utils import Whitelist
flask_whitelist = Whitelist()
flask_whitelist.url_map.strict_slashes |
It would actually be useful to put the |
I've noticed some false-positives with Flask applications:
app.url_map.strict_slashes = False
(source)@app.errorhandler(SomeException)
@app.route
@after_this_request
The text was updated successfully, but these errors were encountered: