File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 134134 minimum_pre_commit_version : 0.15.0
135135- id : debug-statements
136136 name : Debug Statements (Python)
137- description : This hook checks that debug statements (pdb, ipdb, pudb) are not imported on commit .
137+ description : Check for debugger imports and py37+ `breakpoint()` calls in python source .
138138 entry : debug-statement-hook
139139 language : python
140140 types : [python]
Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ Add this to your `.pre-commit-config.yaml`
5757 otherwise be forbidden. Using this option removes all guarantees of
5858 portability to other yaml implementations.
5959 Implies ` --allow-multiple-documents ` .
60- - ` debug-statements ` - Check for pdb / ipdb / pudb statements in code.
60+ - ` debug-statements ` - Check for debugger imports and py37+ ` breakpoint() `
61+ calls in python source.
6162- ` detect-aws-credentials ` - Checks for the existence of AWS secrets that you
6263 have set up with the AWS CLI.
6364 The following arguments are available:
You can’t perform that action at this time.
0 commit comments