mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 12:34:17 +00:00
Added requirements.txt hook
This commit is contained in:
parent
d8a44784fc
commit
b83ea591b5
6 changed files with 138 additions and 1 deletions
|
|
@ -47,6 +47,12 @@
|
|||
entry: pyflakes
|
||||
language: python
|
||||
files: \.py$
|
||||
- id: requirements-txt-fixer
|
||||
name: Fix requirements.txt
|
||||
description: Sorts entries in requirements.txt
|
||||
entry: requirements-txt-fixer
|
||||
language: python
|
||||
files: requirements.*\.txt$
|
||||
- id: trailing-whitespace
|
||||
name: Trim Trailing Whitespace
|
||||
description: This hook trims trailing whitespace.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue