Add .github/workflows/black.yml for automatically verifying a proper black format
Add .pre-commit-config.yaml as a git hook configuration file with pre-commit, to automatically format all Python files with black on commit.
Note: This will only be triggered if pre-commit is installed and a git hook is created manually using the pre-commit configuration. See the guide for more info.
Refactor current backend code with
black
Add
.github/workflows/black.yml
for automatically verifying a properblack
formatAdd
.pre-commit-config.yaml
as a git hook configuration file withpre-commit
, to automatically format all Python files withblack
on commit. Note: This will only be triggered ifpre-commit
is installed and a git hook is created manually using thepre-commit
configuration. See the guide for more info.