Skip to content

Commit

Permalink
GHA: run static type check
Browse files Browse the repository at this point in the history
  • Loading branch information
esiebert committed Oct 13, 2024
1 parent 79db682 commit 3777f69
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
shell: bash
run: |
poetry install
- name: Test with pytest
- name: Static type check
run: |
make lint
- name: Run tests
run: |
poetry run pytest
make test
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ py_version = 311
asyncio_mode = "auto"

[tool.mypy]
warn_return_any = false
warn_unused_ignores = true
disallow_untyped_calls = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = false
warn_unused_ignores = true
show_error_codes = true
disable_error_code = [
"import-untyped"
"import-untyped",
"no-any-unimported"
]

0 comments on commit 3777f69

Please sign in to comment.