diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index d7de71f99b52c2..fd98db24b961b4 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -59,7 +59,7 @@ jobs: - name: Run mypy run: | pushd api - poetry run mypy --install-types --non-interactive . + poetry run python -m mypy --install-types --non-interactive . popd - name: Set up dotenvs diff --git a/api/mypy.ini b/api/mypy.ini index 4ac7f8c49690dd..2c754f9fcd7c63 100644 --- a/api/mypy.ini +++ b/api/mypy.ini @@ -1,5 +1,4 @@ [mypy] -python_executable = .venv/bin/python warn_return_any = True warn_unused_configs = True check_untyped_defs = True