Questionable code sample for rule python:S3358

Hi,

I just stumbled across the code sample for the rule python:S3358.

I would suggest to change the sample to something less sensitive, or make the code sample inclusive towards non-binary folk and non-discriminating towards married women.

Cheers

Hi @merlin-s,

Thanks for reporting this problem. You are completely right.
Here is the updated version of this rule.

I’ll fix the equivalent code example for other languages. It might take a few months for every metadata to be fixed in SonarQube/SonarCloud/SonarLint as we update them when we work on an analyzer.

Cheers,

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.