Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

precommit git hooks, rearrange package structure #251

Merged
merged 15 commits into from May 23, 2019
Merged

precommit git hooks, rearrange package structure #251

merged 15 commits into from May 23, 2019

Conversation

sumpfork
Copy link
Owner

This

  • moves the package from the top level into a src/ subdir
  • moves the tests out of the package to the top level
  • adds pre-commit hooks to format the code via black, check it via flake8, and do some other formatting
  • adds travis instructions to run the precommit hooks there, too
  • properly separates development requirements into requirements.txt (produced via pip-compile from requirements.in)
  • fixes all the formatting etc. according to the precommit hooks
  • I haven't yet enabled/run the json formatting hook, but I think it'd be a good idea to stay consistent with all our json

@sumpfork sumpfork self-assigned this Mar 25, 2019
@sumpfork sumpfork merged commit 31a7144 into master May 23, 2019
@sumpfork sumpfork deleted the precommit branch May 23, 2019 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant