From c01aa857015944d0ea66c424e4785c3ee5035fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sinclert=20P=C3=A9rez?= Date: Thu, 25 Jan 2024 23:31:25 +0100 Subject: [PATCH] Add out-of-the-box pre-commit hooks --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9da3d9a..c2d50d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,14 @@ fail_fast: true repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-json + - id: check-toml + - id: check-yaml + - id: trailing-whitespace + - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.11.0 hooks: