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

Add NOSONAR comments to PyImath to suppress "self==self" bug reports. #558

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

cary-ilm
Copy link
Member

SonarCloud doesn't like expressions of the form "a == a", but this
construction occurs in the boost::python .def() template
instantiations in PyImath. This comment will suppress the bug report.

Signed-off-by: Cary Phillips cary@ilm.com

SonarCloud doesn't like expressions of the form "a == a", but this
construction occurs in the boost::python .def() template
instantiations in PyImath. This comment will suppress the bug report.

Signed-off-by: Cary Phillips <cary@ilm.com>
Copy link
Contributor

@kdt3rd kdt3rd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I saw this one as well, thanks for fixing it up - I might have put in a comment saying this is how boost python works to expose these operators, but it is pretty obvious as well.

@cary-ilm cary-ilm merged commit 28d3a22 into AcademySoftwareFoundation:master Sep 16, 2019
@cary-ilm cary-ilm deleted the pyimath-nosonar branch September 16, 2019 16:51
@cary-ilm cary-ilm added this to the v2.5.0 milestone Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants