-
Notifications
You must be signed in to change notification settings - Fork 311
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
Replace general exceptions with a specific ones #3337
Comments
@suhaibmujahid Please assign this issue to me, I would like to work on it. |
@suhaibmujahid I am a bit curious, the get_feature_names method in the Model Class will always return an empty list. Is this the ideal implementation? |
You do not need to ask. Please start by reading #1092
The However, this question is off-topic. For simmiler questions, you could open a new issue, use Discussions or chat with us in the bugbug Matrix room. |
Thanks for the reply and the corrections are duly noted. |
More details here: https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/broad-exception-raised.html
Example of a general exception that should be replaced:
bugbug/bugbug/model.py
Line 192 in 69972a1
The goal is to replace all general exceptions, not only in the
model.py
file.The text was updated successfully, but these errors were encountered: