Add support for Python 3

I couldn't use codecov on my Python 3 project so I added support for Python 3.