mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 21:04:17 +00:00
Update debug-statements description
This commit is contained in:
parent
6ed369d651
commit
805530fe29
2 changed files with 3 additions and 2 deletions
|
|
@ -134,7 +134,7 @@
|
||||||
minimum_pre_commit_version: 0.15.0
|
minimum_pre_commit_version: 0.15.0
|
||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
name: Debug Statements (Python)
|
name: Debug Statements (Python)
|
||||||
description: This hook checks that debug statements (pdb, ipdb, pudb) are not imported on commit.
|
description: Check for debugger imports and py37+ `breakpoint()` calls in python source.
|
||||||
entry: debug-statement-hook
|
entry: debug-statement-hook
|
||||||
language: python
|
language: python
|
||||||
types: [python]
|
types: [python]
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,8 @@ Add this to your `.pre-commit-config.yaml`
|
||||||
otherwise be forbidden. Using this option removes all guarantees of
|
otherwise be forbidden. Using this option removes all guarantees of
|
||||||
portability to other yaml implementations.
|
portability to other yaml implementations.
|
||||||
Implies `--allow-multiple-documents`.
|
Implies `--allow-multiple-documents`.
|
||||||
- `debug-statements` - Check for pdb / ipdb / pudb statements in code.
|
- `debug-statements` - Check for debugger imports and py37+ `breakpoint()`
|
||||||
|
calls in python source.
|
||||||
- `detect-aws-credentials` - Checks for the existence of AWS secrets that you
|
- `detect-aws-credentials` - Checks for the existence of AWS secrets that you
|
||||||
have set up with the AWS CLI.
|
have set up with the AWS CLI.
|
||||||
The following arguments are available:
|
The following arguments are available:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue