I have configured an Azure DevOps pipeline where I run Flake8 for Python linting. The Flake8 results are written to a file named flake8.txt. I am attempting to integrate these Flake8 results into my SonarCloud analysis, but SonarCloud does not seem to be picking up the issues reported by Flake8.
Here is a snippet of the relevant part of my Azure pipeline YAML configuration:
I have verified the path specifications and ensured that flake8.txt is in the proper format. Despite this, SonarCloud is not reflecting the Flake8 issues in the code analysis.
Could anyone help me understand why this might be happening and how I can resolve it?
INFO: Sensor Import of Flake8 issues [python]
WARN: Failed to resolve 4 file path(s) in Flake8 report. No issues imported related to file(s): ./config/db_config.py;./import_module.py;./utility.py;./utils/crypto.py
INFO: Sensor Import of Flake8 issues [python] (done) | time=178ms
Can you post your full Azure Pipelines configuration? It should show the steps that actually generate the flake8 report, which should be generated fresh each build (not stored in the repo, for example).