You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding ignoring results for functions which are decorated by some specific decorator:
The --ignore-decorators option can be used to ignore functions decorated with the given decorator. This is helpful for example in Flask projects, where you can use --ignore-decorators "@app.route" to ignore all functions with the @app.route decorator.
For your use case, I think you can invoke Vulture like following:
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: