From 007c020a0d8dd4db1387bbb9a0f9413a2a601cc8 Mon Sep 17 00:00:00 2001 From: P R Gurunath Date: Tue, 19 Mar 2019 13:04:57 +0530 Subject: 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/) --- .pre-commit-hooks.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .pre-commit-hooks.yaml 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 -- cgit v1.2.1