Configure pre-commit for project (#346)

This commit is contained in:
Arun Babu Neelicattu
2022-03-03 19:10:01 +01:00
committed by GitHub
parent bd69862a02
commit a836fb23bc
6 changed files with 1733 additions and 16 deletions

15
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,15 @@
ci:
autofix_prs: false
repos:
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/doc8
rev: 0.10.1
hooks:
- id: doc8
additional_dependencies:
- toml