From 2cd71a453da5c4ed791b8844409dd1c3500c4b89 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sun, 2 May 2021 22:13:12 +0200 Subject: [PATCH] [enh] #401: Introduce isort pre-commit hook --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 076a7971..9f2a4e5e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,3 +3,8 @@ repos: rev: stable hooks: - id: black +- repo: https://github.com/PyCQA/isort + rev: 5.8.0 + hooks: + - id: isort + args: ["--profile", "black"] -- GitLab