title: Sonarqube How to supress a specific warning in Python using # NOSONAR
body: <p>In Python we can suppress all Sonarqube warnings at a particular line in the code by applying the <code># NOSONAR</code> comment. This is not ideal. Is there a way to suppress a specific error, instead of supressing all errors?</p>
  
  <p>For example, you may have a function with two warnings:</p>
  
  <pre><code>Function "foo" has 8 parameters, which is greater than the 7 authorized.
  Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed
  </code></pre>
  
  <p>How can you suppress the first, but not the second?</p>