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:
Sorin Sbarnea 2019-08-03 11:09:47 +01:00
parent b7abd18ceb
commit f7da3dff91
4 changed files with 91 additions and 0 deletions

View file

@ -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