Skip to content

Commit 8b41c57

Browse files
author
Daniel Gallagher
committed
cp .pre-commit-hooks.yaml hooks.yaml
1 parent 9425c5d commit 8b41c57

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.iml
33
*.py[co]
44
.*.sw[a-z]
5+
.cache
56
.coverage
67
.idea
78
.project

hooks.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@
105105
entry: end-of-file-fixer
106106
language: python
107107
files: \.(asciidoc|adoc|coffee|cpp|css|c|ejs|erb|groovy|h|haml|hh|hpp|hxx|html|in|j2|jade|json|js|less|markdown|md|ml|mli|pp|py|rb|rs|R|scala|scss|sh|slim|tex|tmpl|ts|txt|yaml|yml)$
108+
- id: file-contents-sorter
109+
name: File Contents Sorter
110+
description: Sort the lines in specified files (defaults to alphabetical). You must provide list of target files as input in your .pre-commit-config.yaml file.
111+
entry: file-contents-sorter
112+
language: python
113+
files: ''
108114
- id: fix-encoding-pragma
109115
name: Fix python encoding pragma
110116
language: python

0 commit comments

Comments
 (0)