Skip to content

Commit

Permalink
[tuner][CI] Enable mypy type checking (#530)
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.
  • Loading branch information
kuhar authored Nov 15, 2024
1 parent 778b567 commit 7fd047f
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 7fd047f

Please sign in to comment.