summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorP R Gurunath <gurunathpr@gmail.com>2019-03-19 13:04:57 +0530
committerGitHub <noreply@github.com>2019-03-19 13:04:57 +0530
commit007c020a0d8dd4db1387bbb9a0f9413a2a601cc8 (patch)
tree7e46157147ff11d644aae611c12cf1b055fdf6dd
parentf76f312abc804fc6bbd2dddf76a11581dda4cb32 (diff)
downloadisort-007c020a0d8dd4db1387bbb9a0f9413a2a601cc8.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