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

Address pylint exception warning #7

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

clebergnu
Copy link
Contributor

Pylint gives the following warning:

pylint: Command line or configuration file:1: UserWarning:
'BaseException' is not a proper value for the 'overgeneral-exceptions'
option. Use fully qualified name (maybe 'builtins.BaseException' ?)
instead. This will cease to be checked at runtime in 3.1.0.

pylint: Command line or configuration file:1: UserWarning:
'Exception' is not a proper value for the 'overgeneral-exceptions'
option. Use fully qualified name (maybe 'builtins.Exception' ?)
instead. This will cease to be checked at runtime in 3.1.0.

This addresses it in the recomendded way.

Pylint gives the following warning:

   pylint: Command line or configuration file:1: UserWarning:
   'BaseException' is not a proper value for the 'overgeneral-exceptions'
   option. Use fully qualified name (maybe 'builtins.BaseException' ?)
   instead. This will cease to be checked at runtime in 3.1.0.

   pylint: Command line or configuration file:1: UserWarning:
   'Exception' is not a proper value for the 'overgeneral-exceptions'
   option. Use fully qualified name (maybe 'builtins.Exception' ?)
   instead. This will cease to be checked at runtime in 3.1.0.

This addresses it in the recomendded way.

Signed-off-by: Cleber Rosa <[email protected]>
@clebergnu clebergnu self-assigned this Jul 24, 2024
@clebergnu clebergnu requested review from richtja and harvey0100 July 24, 2024 14:50
@richtja richtja merged commit 02ad522 into avocado-framework:main Jul 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 109
Development

Successfully merging this pull request may close these issues.

2 participants