Skip to content

Commit

Permalink
Refactor type checking command and update VSCode settings to exclude …
Browse files Browse the repository at this point in the history
…build artifacts
  • Loading branch information
vemel committed Nov 27, 2024
1 parent c587ce0 commit 6a5453a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Check types in test.py
run: |
uv build --wheel
OUTPUT=`uvx --python=3.8 --with dist/*.whl mypy test.py || true`
OUTPUT=`uvx --with dist/*.whl mypy test.py || true`
echo $OUTPUT
if [[ ${OUTPUT} != *"Found 1 error"* ]];then
echo "Stubs test failed: $TEST"
Expand Down
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,13 @@
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"files.exclude": {
".venv": true,
".mypy_cache": true,
".ruff_cache": true,
"build": true,
"dist": true,
"*.egg-info": true,
}
}

0 comments on commit 6a5453a

Please sign in to comment.