Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Add pre-commit hooks to automate code formatting #198

Open
AlexIoannides opened this issue Jul 7, 2022 · 0 comments
Open

Add pre-commit hooks to automate code formatting #198

AlexIoannides opened this issue Jul 7, 2022 · 0 comments
Labels

Comments

@AlexIoannides
Copy link
Contributor

AlexIoannides commented Jul 7, 2022

"As a Bodywork Developer, I would like code formatting to be executed automatically prior to making a commit, so that I don't have to remember to run all the formatting tools and each commit is consistently formatted."

Tasks

  • Read about the pre-commit package.
  • Setup the pre-commit package.
  • Add Black, isort and pydocstyle as pre-commit hooks.
  • Document the installation steps required by new developers.

Requires #197, #196 to be completed first.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant