Scan python whl file

Hi all,

I have some python whl file which I would to scan in Sonarqube without building it.
I tried to specify .whl extension in sonar-project.properties but sonarqube doesn’t seem to know what to do with it:

sonar.python.file.suffixes=py,whl

I know workaround is to build it and then using Sonarqube, but I would like to avoid that.

I’m using SonarQube build from Docker.
SonarQube version 10.4.1.

Regards,

Hey there.

I’m not too familiar with wheel files, but I have a feeling they aren’t raw Python files, which is what SonarQube is able to analyze. You won’t be able to analyze precompiled binary files.

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