Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

black formatter - #135

Merged
PokhodenkoSA merged 5 commits into
mainfrom
spokhode/black
Dec 23, 2020
Merged

PokhodenkoSA merged 5 commits into
mainfrom
spokhode/black

Conversation

@PokhodenkoSA

@PokhodenkoSA PokhodenkoSA commented Dec 21, 2020 •

Copy link
Copy Markdown
Contributor

Closes #129

Examples: IntelPython/dpctl#91

black is "The Uncompromising Code Formatter".

  • Use the black badge in project's README.md for indicating the code style
  • Add GitHub Actions for black for check code style
  • Ignore versioneer.py because it is 3rd party file (see pyproject.toml)
  • Update CONTRIBUTING.md for all developers to use black in everyday work
  • Format all Python code with black (just black .)
  • Add ignoring revisions in blame so you can see meaningful blame info after global formatting commit

Usage is simple: black .

@diptorupd diptorupd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally black is here!

@PokhodenkoSA PokhodenkoSA mentioned this pull request Dec 22, 2020
3 tasks done
@PokhodenkoSA
PokhodenkoSA merged commit 8bd62e6 into main Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Black formatter

2 participants