From ebc3dab39b0ebcaf130b32d41ef0829b2eb2982c Mon Sep 17 00:00:00 2001 From: Marek Dostal Date: Sun, 5 Nov 2023 10:39:50 +0100 Subject: [PATCH] Fix CI pipeline (pytest and isort) --- .github/workflows/test.yml | 2 +- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6fc3227..f9a0e68 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Test with pytest run: | pip install pytest - python -m pytest tests + python -m pytest ruff: runs-on: ubuntu-latest steps: diff --git a/pyproject.toml b/pyproject.toml index e503079..17e3736 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,5 @@ [tool.pytest.ini_options] pythonpath = ["src", "src/service"] + +[tool.isort] +profile = "black"