dtsong / sleeper-api-wrapper

A Python API wrapper for Sleeper's API: https://docs.sleeper.app/
MIT License
61 stars 21 forks source link

Add type hints #19

Closed wfordh closed 10 months ago

wfordh commented 10 months ago

Added types to almost all of the classes and package and test files. Only ones I didn't add were in the stats.py file when stats is passed as an argument to some of the methods. I'm not entirely sure why an instance of the stats are being passed to the method and figured fixing some of that file could be kicked to another PR.

I also removed the capsys usage in the test files since it wasn't being used and fixed a few typos.