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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions