Skip to content

DX: use a pre-commit hook to press commiters to ensure codestyle is consistent #49

Open
@hcientist

Description

@hcientist
  1. do we really want a client-side pre-commit hook to enforce formatting? (maybe not because then we can't "save" our progress)
  2. 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
  3. 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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions