/atom-black

Black integration for Atom

Primary LanguageJavaScriptMIT LicenseMIT

atom-black

Black integration for Atom.

Installation

  • Install Black
  • Run apm install atom-black

Usage

  • Select Blacken from the command palette to blacken your currently open Python code (or use the default cmd+alt+b shortcut).
  • Select Toggle Blacken on Save from the command palette to switch on or off automatically running Black when you save Python code.

Settings

  • You can change the default command for Black.
  • You can change whether Blacken on Save is on or off by default.