Skip to content

Commit

Permalink
[tuner][CI] Enable mypy type checking
Browse files Browse the repository at this point in the history
For now only typecheck the tuner implementation. In the future, we
should extend it to examples.

Signed-off-by: Jakub Kuderski <[email protected]>
  • Loading branch information
kuhar committed Nov 15, 2024
1 parent 86bd384 commit b8cacfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-tuner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ jobs:
- name: Run tuner tests
run: pytest tuner/

- name: Run mypy type checker
run: mypy tuner/tuner
1 change: 1 addition & 0 deletions tuner/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mypy==1.8.0
pre-commit==3.8.0
virtualenv==20.13.0

0 comments on commit b8cacfa

Please sign in to comment.