Add black and isort to .pre-commit-config.yaml

This commit is contained in:
Hasan Ramezani 2022-03-09 10:45:33 +01:00 committed by François Magimel
parent 629d8e62c6
commit 0499dfa4c8

View file

@ -1 +1,11 @@
repos: []
---
repos:
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort