Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am vkantsev on github.
  • I am vkantsev (https://keybase.io/vkantsev) on keybase.
  • I have a public key ASBumJcUEFiUWqu6a7KdThVRNOcbeLgP0QT2Sg73yP9ENQo

To claim this, I am signing this object:

$ cat .git/hooks/pre-commit
#!/bin/sh -e
# Run Black formatter
pipenv run black --check $(git rev-parse --show-toplevel)
# Run Pytest
pipenv run pytest $(git rev-parse --show-toplevel)