Skip to content

mikehoyio/atom-python-black

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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