mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Add check-docstring-first hook.
This commit is contained in:
parent
7a5a46a1dc
commit
53f1dc0163
5 changed files with 142 additions and 4 deletions
|
|
@ -23,7 +23,8 @@ Add this to your `.pre-commit-config.yaml`
|
|||
### Hooks available
|
||||
|
||||
- `autopep8-wrapper` - Runs autopep8 over python source.
|
||||
' `check-added-large-files` - Prevent giant files from being committed.
|
||||
- `check-added-large-files` - Prevent giant files from being committed.
|
||||
- `check-docstring-first` - Checks a common error of defining a docstring after code.
|
||||
- `check-json` - Attempts to load all json files to verify syntax.
|
||||
- `check-yaml` - Attempts to load all yaml files to verify syntax.
|
||||
- `debug-statements` - Check for pdb / ipdb / pudb statements in code.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue