seemethere / nba_py

Python client for NBA statistics located at stats.nba.com
BSD 3-Clause "New" or "Revised" License
1.05k stars 256 forks source link

Dynamically calculate the current season value #79

Closed jaygorrell closed 7 years ago

jaygorrell commented 7 years ago

I know it's a little arbitrary but this will basically cut over to the new season in the middle of the off-season (July).

jaygorrell commented 7 years ago

I assume the build failure is unrelated to this change but let me know if something should be altered.

seemethere commented 7 years ago

@jaygorrell It's a pep8 compliance error, the 2 lines are too long.

jaygorrell commented 7 years ago

Sorry about that - that's always been the one forgivable pep-8 recommendation in projects I've worked on... usually 140 or 160. I've reformatted it a bit but it adds an extra variable I was trying to avoid since it's a constants file.