Add yapf to pre-commit (#5747)

This commit is contained in:
Carlos Mocholí 2021-02-02 15:03:36 +01:00 committed by GitHub
parent 50fd4879a9
commit dca3b19e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ repos:
- id: isort
args: [--settings-path, ./pyproject.toml]
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
args: [--parallel, --in-place]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790
hooks: