From dca3b19e59f8c22dd37b187f04300dbc1cec024b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Tue, 2 Feb 2021 15:03:36 +0100 Subject: [PATCH] Add yapf to pre-commit (#5747) --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f8cd909dfa..21c52539a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: