Open
Description
I've been trying to figure out how to set the target python version.
Our project is on python 3.8 and I'd like to configure that for sonar-python.
I've tried putting the below in sonar-project.properties
in my project root, but it's not picking it up.
sonar.python.version=3.8
Right now it thinks ->
is invalid, so it's definitely on a older python version.
I'm using it with GitLab EE 14.9 in CI pipeline.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
UncleGoogle commentedon Oct 19, 2023
The same question with GitLab EE v16.4.1-ee here.
We got "syntax" error (Minor - Error: invalid syntax (, line 155)) for
match
statement in python 3.10.What python versions are supported by the plugin?