mikehoyio / atom-python-black

Python Black for Atom editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Python Black for Atom editor

License:MIT License


Languages

Language:JavaScript 100.0%