Skip to content

Commit

Permalink
fix: update mypy command to use python module and remove unused pytho…
Browse files Browse the repository at this point in the history
…n_executable setting

Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 committed Dec 24, 2024
1 parent 0450409 commit 37379ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion api/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[mypy]
python_executable = .venv/bin/python
warn_return_any = True
warn_unused_configs = True
check_untyped_defs = True
Expand Down

0 comments on commit 37379ac

Please sign in to comment.