mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
Adds remove-tabs hook
Inpired by initial work done by Lucas-C: https://github.com/Lucas-C/pre-commit-hooks
This commit is contained in:
parent
b7abd18ceb
commit
f7da3dff91
4 changed files with 91 additions and 0 deletions
|
|
@ -173,6 +173,12 @@
|
|||
entry: requirements-txt-fixer
|
||||
language: python
|
||||
files: requirements.*\.txt$
|
||||
- id: remove-tabs
|
||||
name: Check docstring is first
|
||||
description: Remove tabs from files and replaces them with spaces.
|
||||
entry: remove-tabs
|
||||
language: python
|
||||
types: [text]
|
||||
- id: sort-simple-yaml
|
||||
name: Sort simple YAML files
|
||||
language: python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue