Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 993 Bytes

index.rst

File metadata and controls

28 lines (20 loc) · 993 Bytes

Integrations

editors github_actions source_version_control

Black can be integrated into many environments, providing a better and smoother experience. Documentation for integrating Black with a tool can be found for the following areas:

  • Editor / IDE <./editors>
  • GitHub Actions <./github_actions>
  • Source version control <./source_version_control>

Editors and tools not listed will require external contributions.

Patches welcome! ✨ 🍰 ✨

Any tool can pipe code through Black using its stdio mode (just use `-` as the file name). The formatted code will be returned on stdout (unless --check was passed). Black will still emit messages on stderr but that shouldn't affect your use case.

This can be used for example with PyCharm's or IntelliJ's File Watchers.