mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +00:00
Refactored how entry points work.
This commit is contained in:
parent
5db7f2d807
commit
45741545dc
8 changed files with 71 additions and 42 deletions
|
|
@ -1,25 +1,21 @@
|
|||
|
||||
-
|
||||
id: pyflakes
|
||||
- id: pyflakes
|
||||
name: Pyflakes
|
||||
description: This validator runs pyflakes.
|
||||
entry: pyflakes
|
||||
language: python
|
||||
-
|
||||
id: debug-statements
|
||||
- id: debug-statements
|
||||
name: Debug Statements (Python)
|
||||
description: This hook checks that debug statements (pdb, ipdb, pudb) are not imported on commit.
|
||||
entry: debug-statement-hook
|
||||
language: python
|
||||
-
|
||||
id: trailing-whitespace
|
||||
- id: trailing-whitespace
|
||||
name: Trim Trailing Whitespace
|
||||
description: This hook trims trailing whitespace.
|
||||
entry: trailing-whitespace-fixer
|
||||
language: python
|
||||
-
|
||||
id: name-tests-test
|
||||
- id: name-tests-test
|
||||
name: Tests should end in _test.py
|
||||
description: This verifies that test files are named correctly
|
||||
entry: name-tests-test
|
||||
language: python
|
||||
language: python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue