Uses Black for formatting Python code.
Make sure you have black
installed and the correct path to binary was set in the package config.
pip install black
"ctrl-alt-c": "python-black:format"
python-black:
binPath: "black"
fmtOnSave: true
lineLength: 88
skipStringNormalization: false
skipNumericUnderscoreNormalization: false
showErrors: ["show", "hide", "flash"]
Inspired by terraform-fmt and python-isort