From e9d36fa953ea9f931a2c208cbee3bfbe4440a474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sinclert=20P=C3=A9rez?= Date: Thu, 25 Jan 2024 23:35:15 +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 41ca2aa..46f4b65 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: