From 00060a5230d92fe70e88a0ce2fb3214c5a71707d Mon Sep 17 00:00:00 2001 From: Philip Mathieu Date: Mon, 1 Apr 2024 15:20:52 -0400 Subject: [PATCH] Add additional hooks --- .pre-commit-config.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e734de2..8c05492 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,8 +1,27 @@ + repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-json + exclude: .vscode + - id: check-merge-conflict + - id: check-symlinks + - id: check-toml + - id: check-yaml + - id: debug-statements + - id: detect-aws-credentials + args: [--allow-missing-credentials] + - id: detect-private-key + - id: end-of-file-fixer + - id: trailing-whitespace + # See: https://github.com/c4urself/bump2version/issues/58 + exclude: setup.cfg - repo: https://github.com/ambv/black rev: 24.3.0 hooks: - id: black + files: . - repo: https://github.com/pycqa/flake8 rev: 6.1.0 hooks: