Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use black to format the code base #497

Closed
ogrisel opened this issue Jan 19, 2023 · 0 comments · Fixed by #521
Closed

Use black to format the code base #497

ogrisel opened this issue Jan 19, 2023 · 0 comments · Fixed by #521

Comments

@ogrisel
Copy link
Contributor

ogrisel commented Jan 19, 2023

Things to do:

  • configure black in pyproject.toml (I would try with the default settings and see how it goes first).
  • run black in a dedicated commit,
  • add a .git-blame-ignore-revs file to ignore that commit in git blame,
  • update the lint step in the CI config to perfom a black check,
  • provide a pre-commit config to allow contributors to perform the black check as a pre-commit hook for git.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant