Add check-xml hook.

This commit is contained in:
Anthony Sottile 2015-01-17 10:21:44 -08:00
parent fea9b2ece7
commit ddc9208a5f
10 changed files with 57 additions and 1 deletions

View file

@ -27,6 +27,7 @@ Add this to your `.pre-commit-config.yaml`
- `check-case-conflict` - Check for files that would conflict in case-insensitive filesystems.
- `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-xml` - Attempts to load all xml 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.
- `end-of-file-fixer` - Makes sure files end in a newline and only a newline.