• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

python-black

Format Python code using Black
  • #python
  • #black
  • #fmt
  • #format
mikehoyio
0.7.0 48,024
11
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by