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