apache/incubator-resilientdb-python-sdk

Add black formatting github hook

Open

#19 opened on Dec 13, 2023

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Python (6 forks)auto 404
good first issue

Repository metrics

Stars
 (6 stars)
PR merge metrics
 (PR metrics pending)

Description

https://towardsdatascience.com/keep-your-code-clean-using-black-pylint-git-hooks-pre-commit-baf6991f7376

Expected behavior: add a pre-commit hook which does the following

  • Check for formatting issue when git commit is used.
  • runs black to format if issue is found else exits

Contributor guide