Is it possible to suppress/mark an inspection as 'does not apply'
I have a case where I am getting a suspicious.name.parameter warning:
Great inspection but incorrect in this particular case: the code is valid - I do want to pass a y value where the function parameter name is x.
I can document the issue with a comment but PyCharm still gives an overall yellow grade for the module with a warning having been found. I'd prefer something like
/*jshint validthis:true */ to turn off specific jshint warnings.
so that a maintenance programmer who follows may take my comment more seriously.
"'y' should probably not be passed as parameter 'x'"
Great inspection but incorrect in this particular case: the code is valid - I do want to pass a y value where the function parameter name is x.
I can document the issue with a comment but PyCharm still gives an overall yellow grade for the module with a warning having been found. I'd prefer something like
/*jshint validthis:true */ to turn off specific jshint warnings.
so that a maintenance programmer who follows may take my comment more seriously.
Please sign in to leave a comment.
Hope that helps.