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

Last update: October 23, 2020