Lab-Lab-Lab / Lab-Lab-Lab/cpr-dev
DX: use a pre-commit hook to press commiters to ensure codestyle is consistent
Open
@JoshuaAHairston is already working on this.
Since Sep 6, 2024.
- Dominant language
- Shell
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
- do we really want a client-side pre-commit hook to enforce formatting? (maybe not because then we can't "save" our progress)
- definitely want something for when a PR is opened to either autoformat, or add a comment/error something that the requester should format their code before expecting the PR to be reviewed
- start by ensuring that the python black formatter is running for you in vscode, and figure out the commandline to make it run against all python files in the backend and open a pr to merge the formatted version
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.