From e6227c36fb120f8d613b3245a9be5518e09481bf Mon Sep 17 00:00:00 2001 From: Adrian Ostrowski Date: Wed, 1 Feb 2023 22:31:31 +0100 Subject: [PATCH] Update isort to work around build from source bug A Poetry update broke isort: https://github.com/PyCQA/isort/issues/2077 The bug occurs when building from source, which is what pre-commit does. The latest version of isort fixes this issue. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ed60d2cd..60b30f67 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: black language_version: python3 - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort args: [--profile, black, --multi-line, "3"]