apache/incubator-resilientdb-python-sdk

Add black formatting github hook

Open

#19 aberto em 13 de dez. de 2023

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

Métricas do repositório

Stars
 (6 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador