r/learnpython • • Sep 04 '19

Wrote my first API

I would love any feedback. The API simply returns homebrewing calculations. I know there still a lot to do. Brew Numbers API

Github Repo

425 Upvotes

44 comments sorted by

View all comments

Show parent comments

21

u/bmw2621 Sep 04 '19

Thanks for looking at it and giving feedback. "Add unit tests" will go on the TODO list.

12

u/Doormatty I get paid to write Python! Sep 04 '19

You might also want to add the Pycache directory to your .gitignore

5

u/bmw2621 Sep 04 '19

Yeah, it's in my .gitignore, I'm not sure why it's pushing. I still have to figure that out.

13

u/AreYouADickhead Sep 04 '19

It's because it was most likely pushed to the repo prior to you adding it to the .gitignore. If you were to do git rm --cached pycache/ it should remove it from the repo