mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Add an --allow-multiple-documents option to check-yaml
This commit is contained in:
parent
e09278e806
commit
e87b81afd9
3 changed files with 32 additions and 1 deletions
|
|
@ -43,6 +43,8 @@ Add this to your `.pre-commit-config.yaml`
|
|||
- `check-vcs-permalinks` - Ensures that links to vcs websites are permalinks.
|
||||
- `check-xml` - Attempts to load all xml files to verify syntax.
|
||||
- `check-yaml` - Attempts to load all yaml files to verify syntax.
|
||||
- `--allow-multiple-documents` - allow yaml files which use the
|
||||
[multi-document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML)
|
||||
- `debug-statements` - Check for pdb / ipdb / pudb statements in code.
|
||||
- `detect-aws-credentials` - Checks for the existence of AWS secrets that you
|
||||
have set up with the AWS CLI.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue