From 36da72ac6bac6dac6e210c6a8b68d5f16bb9f73a Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Fri, 11 Feb 2022 11:30:57 +0100 Subject: [PATCH] Add check pdb as pre-commit hook Avoid commits with pdb.set_trace() statements --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13fbf401..63a0458c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,3 +11,7 @@ repos: rev: 4.0.1 hooks: - id: flake8 + - repo: https://github.com/conorfalvey/check_pdb_hook + rev: 0.0.9 + hooks: + - id: check_pdb_hook