PYTHON.ERROR.MBR : Misplaced Bare Raise (Pylint)

This warning class corresponds to a Pylint rule. The CodeSonar analysis results may include warnings of this class if your CodeSonar project includes Python components.

Summary

This warning class corresponds to a Pylint message: "misplaced-bare-raise".

For full message details, see the Pylint website: misplaced-bare-raise / E0704.

Properties

Class Name Misplaced Bare Raise (Pylint)
Significance reliability
Mnemonic PYTHON.ERROR.MBR
Categories
CWE CWE:573 Improper Following of Specification by Caller
Pylint Pylint:E0704 misplaced-bare-raise
Availability Available for Python only.
Enabling Checking for this warning class is performed by the third party Pylint analyzer, with the results imported into the CodeSonar project.

To enable or disable checking, you will need to adjust your adjust your Pylint configuration.

If the checker produces one or more results corresponding to this warning class, they will be submitted to the hub by default. To disable submission, add the following WARNING_FILTER rule to the project configuration file.

WARNING_FILTER += discard class="Misplaced Bare Raise (Pylint)"

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.