← Back to changelog

New Duplication Analysis for Python 3 🐍

Python authors using Python 3 can now get more out of Code Climate with our duplication engine. We’ve long supported Python 2, but as of today we’ve released additional parsing options so that users can find potential code duplication issues in their Python 3 code.

To enable Python 3 duplication analysis for your repo, ensure you’ve turned on our duplication engine in your .codeclimate.yml, and add a python_version key:

    engines:
      duplication:
        enabled: true
        config:
          languages:
            python:
              python_version: 3

    ratings:
      paths:
        - "**.py"

Check out our documentation for other ways you can customize your duplication analysis.

Actionable metrics for engineering leaders. Try Velocity Free