Hello, I am trying to import a flake8 txt report file into SonarCloud, as part of a Github Actions pipeline, using the following code:
# Flake8 - name: Lint with flake8 run: | flake8 --exit-zero --output-file=flake8.txt .
But when I do so I get the following error:
17:02:21.307 INFO: Sensor Import of Flake8 issues [python] 17:02:21.334 ERROR: No issues information will be saved as the report file '/github/workspace/flake8.txt' can't be read. IllegalArgumentException: -1 is not a valid line offset for a file
And the flake8 info is not coming through to SonarCloud
Are you able to help with what the error means and how to fix it? Many thanks