diff --git a/.github/workflows/poetry.yml b/.github/workflows/poetry.yml index 1d6c562..21b01b3 100644 --- a/.github/workflows/poetry.yml +++ b/.github/workflows/poetry.yml @@ -27,6 +27,6 @@ jobs: - name: Lint check with python black run: poetry run black --check --verbose . - name: Isort check - run: poetry run isort . --check --diff + run: poetry run isort . --profile black --check --diff - name: Pytest check run: poetry run pytest -rP diff --git a/pyproject.toml b/pyproject.toml index 3312f1e..11c5307 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,9 @@ poethepoet = "^0.29.0" [tool.poe.tasks] check = "./scripts/check.sh" +[tool.isort] +profile = "black" + [tool.pytest.ini_options] pythonpath = [ "src"