From fd42e3a506d3f3a26b305a77d25baedbd4722ab1 Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Mon, 23 Dec 2024 21:10:48 +0800 Subject: [PATCH] fix: mypy Signed-off-by: yihong0618 --- .github/workflows/api-tests.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 499fec0475ee79..0ec098ec9da2fb 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -40,8 +40,7 @@ jobs: - name: Install dependencies run: poetry install -C api --with dev - - + - name: Check dependencies in pyproject.toml run: poetry run -C api bash dev/pytest/pytest_artifacts.sh @@ -60,7 +59,7 @@ jobs: - name: Run mypy run: | pushd api - poetry run -C api mypy . + poetry run -C api python -m mypy . popd - name: Set up dotenvs