Update hooks.yaml for yaml hook.

This commit is contained in:
Anthony Sottile 2014-04-03 21:45:32 -07:00
parent cd4ce488aa
commit f78ea7200d

View file

@ -1,26 +1,30 @@
- id: check-yaml
- id: pyflakes name: Check Yaml
name: Pyflakes description: This hook checks yaml files for parseable syntax.
description: This validator runs pyflakes. entry: check-yaml
entry: pyflakes
language: python language: python
- 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: This hook checks that debug statements (pdb, ipdb, pudb) are not imported on commit.
entry: debug-statement-hook entry: debug-statement-hook
language: python language: python
- id: trailing-whitespace - id: end-of-file-fixer
name: Trim Trailing Whitespace name: Fix End of Files
description: This hook trims trailing whitespace. description: Ensures that a file is either empty, or ends with one newline.
entry: trailing-whitespace-fixer entry: end-of-file-fixer
language: python language: python
- id: name-tests-test - id: name-tests-test
name: Tests should end in _test.py name: Tests should end in _test.py
description: This verifies that test files are named correctly description: This verifies that test files are named correctly
entry: name-tests-test entry: name-tests-test
language: python language: python
- id: end-of-file-fixer - id: pyflakes
name: Fix End of Files name: Pyflakes
description: Ensures that a file is either empty, or ends with one newline. description: This validator runs pyflakes.
entry: end-of-file-fixer entry: pyflakes
language: python
- id: trailing-whitespace
name: Trim Trailing Whitespace
description: This hook trims trailing whitespace.
entry: trailing-whitespace-fixer
language: python language: python