Skip to content

Instantly share code, notes, and snippets.

@wchargin
Last active December 12, 2019 21:27
Show Gist options
  • Save wchargin/d65820919f363d33545159138c86ce31 to your computer and use it in GitHub Desktop.
Save wchargin/d65820919f363d33545159138c86ce31 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Wrapper to run `black` from a fixed virtualenv.
black_virtualenv=~/virtualenv/black
. "${black_virtualenv}/bin/activate"
exec black "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment