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

fix: Add module name to overgeneral-exceptions to suppress warnings #160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gmontamat
Copy link

pylint will deprecate exception names without a module name in the pyproject.toml configurations.

When running pylint, you now get the following UserWarning:

$ pylint src
pylint: Command line or configuration file:1: UserWarning: Specifying exception names in the overgeneral-exceptions option without module name is deprecated and support for it will be removed in pylint 3.0. Use fully qualified name (maybe 'builtins.BaseException' ?) instead.

This PR follows this recommendation before support is removed.

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

Successfully merging this pull request may close these issues.

1 participant