Does Snyk support Python 3?
Snyk is able to test both Python 2 and 3 GitHub repositories. However, the default behaviour is to treat the repository as a Python 2 unless set otherwise.
To change the default Python version you can either set it at:
- The project level
- The Snyk organisation level
1. To set the default at the project level you need to create or edit a .snyk
file with the following for example:
language-settings:
python: '3.6.2'
2. To set the default at the organisation level you need to go to your Python language settings on the Snyk website and select Python 3: