Skip to content

Conversation

PokhodenkoSA
Copy link
Contributor

@PokhodenkoSA PokhodenkoSA commented Dec 21, 2020

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 .

Copy link
Contributor

@diptorupd diptorupd left a comment

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
@PokhodenkoSA PokhodenkoSA merged commit 8bd62e6 into main Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Black formatter

2 participants