Skip to content

Specifying your Python version

Although our tools try to detect which Python version your repository uses, some false positives may occur.

To instruct which Python version you want Codacy to use, you can define the following in a Codacy configuration file added in the root of your repository - .codacy.yml:

    enabled: true
    python_version: 2

Supported versions: 2, 3

Supported tools: codacy-pylint


Did this page help you?

Thank you for the feedback!

We're sorry to hear that. Please let us know what we can improve.

If you have a question, please contact

Last modified October 23, 2020