Skip to content

How to specify a python version? #6

Description

@rabbit-aaron

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

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions