Add pre-commit hook to format python (#1780)
* Add pre-commit config to format with black * Add pre-commit as dev-requirement
This commit is contained in:
Родитель
836ba64b79
Коммит
397a12c6fa
|
@ -0,0 +1,5 @@
|
|||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.3.0
|
||||
hooks:
|
||||
- id: black-jupyter
|
|
@ -1,2 +1,3 @@
|
|||
GitPython==3.1.17
|
||||
black[jupyter]==22.6.0
|
||||
pre-commit==2.*
|
Загрузка…
Ссылка в новой задаче