Snyk is able to test both Python 2 and Python 3 GitHub repositories. However, the default behaviour is to treat the repository as a Python 2 unless set otherwise.
You can set the default Python version at either the project or organization level.
See Snyk for Python for details of setting Python versions in Snyk.