How to skip import modules in Python code while running sonarque , i can not use //nosonar

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Version used is 7.6
  • what are you trying to achieve
    just scanning code for errors
  • what have you tried so far to achieve this
    ran sonarqube and scanner

how to skip import modules in Python code while running sonarque , i can not use //nosonar

Hi,

It sounds like you want exclusions.

 
Ann