From f14467b6043e0aa04f906c519c35017dd92fa8f4 Mon Sep 17 00:00:00 2001 From: TrAyZeN Date: Fri, 22 Nov 2024 11:36:01 +0100 Subject: [PATCH] Configure isort compatibility with black --- .github/workflows/ci.yml | 1 + pyproject.toml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 pyproject.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e01cafa..af1d0d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,4 +21,5 @@ jobs: - name: Check import sorting uses: isort/isort-action@v1 with: + configuration: "--profile black --check-only --diff" requirementsFile: "requirements.txt" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5d7bf33 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[tool.isort] +profile = "black"