From f983e605c7baefed3cd854ba3da5e27e52cfd679 Mon Sep 17 00:00:00 2001 From: Vladimir Blagojevic Date: Thu, 5 Oct 2023 17:45:28 +0200 Subject: [PATCH] Revert "ci: added isort to pyproject.toml and pre-commit (#5933)" (#5980) This reverts commit 64243540fb1f2cb6d4dfbb5b12db3aaf59a21b4a. --- .pre-commit-config.yaml | 6 ------ pyproject.toml | 3 --- 2 files changed, 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ce4be95c..5375c94d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,10 +39,4 @@ repos: - id: actionlint-docker args: ["-ignore", "SC2102"] -- repo: https://github.com/pycqa/isort - rev: 5.12.0 - hooks: - - id: isort - name: isort (python) - # TODO we can make pylint run at this stage too, once their execution gets normalized diff --git a/pyproject.toml b/pyproject.toml index cc4cef492..3c11d398c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -246,7 +246,6 @@ formatting = [ # Version specified following Black stability policy: # https://black.readthedocs.io/en/stable/the_black_code_style/index.html#stability-policy "black[jupyter]~=23.0", - "isort~=5.12" ] all = [ @@ -451,5 +450,3 @@ max-statements = 105 # Default is 50 omit = [ "haystack/testing/*", ] -[tool.isort] -profile = "black"