From 67d1e0e82ad6fdb69c29d479eea67d379e9afcd4 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Sun, 23 Oct 2022 23:25:39 +0100 Subject: [PATCH] updated precommit --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3bb99a7c8..f834a2cfe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,7 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files + - repo: https://github.com/psf/black rev: 22.10.0 hooks: @@ -27,6 +28,13 @@ repos: # - id: isort # files: "\\.(py)$" # args: [--settings-path=pyproject.toml] +- repo: https://github.com/pycqa/isort + rev: 5.5.4 + hooks: + - id: isort + args: ["--profile", "black"] + + - repo: https://github.com/hadialqattan/pycln rev: v2.1.1 # Possible releases: https://github.com/hadialqattan/pycln/releases -- GitLab