git python tools
Main not Master
I keep forgetting to choose the more inclusive name
main for a default for new git repositories. Thanks to the handy hint when using
git init these days, here is a one-liner to change this on an installation-wide basis:
Let Black do the work of formatting Python code
Follow instructions here:
Since I’m using asdf for my Python installation, I’m actually defining that in a
$HOME/.default-python-packages file so that it’s installed by default in every Python.
But regardless, you can then tell the Python extension in VS Code to use black as it’s code formatter.