summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorP R Gurunath <gurunathpr@gmail.com>2019-03-19 13:04:57 +0530
committerTimothy Crosley <timothy.crosley@gmail.com>2019-05-02 18:49:57 -0700
commitd52f990b44e722ce2416e8beb6249c1eaae5cdce (patch)
tree04b75dd9e4362ed36ce5ce4a20a7941b18fd9c62
parent35212ac4656c6943a3355f5314bf8741b297d3b1 (diff)
downloadisort-d52f990b44e722ce2416e8beb6249c1eaae5cdce.tar.gz
Add .pre-commit-hooks.yaml to ensure use with pre-commit
Helps isort work as a pre-commit hook with [pre-commit](https://pre-commit.com/)
-rw-r--r--.pre-commit-hooks.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
new file mode 100644
index 00000000..a1e93af5
--- /dev/null
+++ b/.pre-commit-hooks.yaml
@@ -0,0 +1,6 @@
+- id: isort
+ name: isort
+ entry: isort
+ require_serial: true
+ additional_dependencies: []
+ language: python