Closed consideRatio closed 3 years ago
This looks great to me!
For the flake error, I'm not quite sure what to do about it. pageInfo only exists after the first iteration (and is defined after that line which is why flake is unhappy i think). Perhaps we could set pageInfo to None at first so that is exists?
Aha that sounds okay to me! 👍
@choldgraf I pushed a commit initializing the variable before the loop - flake8 is now happy
Woohoo! Thanks for professionalizing this repo.a bit 🙂
Thanks for quick followup and merge @choldgraf! :tada: :heart:
I copied a pre-commit config from kubespawner that is reused across the JupyterHub org to a large extent.
Closes #53 by enforcing style, not by documenting it - @manics what do you think?
This PR includes two misc commits
This PR has a flake8 failure still
There was one test failure I didn't fix because I was unsure how to do so. @choldgraf perhaps you can push a commit to this pr fixing this?
https://github.com/executablebooks/github-activity/blob/8180a514c8caaac4ebd3abf9236581e2ee70b7f8/github_activity/graphql.py#L131-L132