Skip to content

Commit

Permalink
chore: add dev check
Browse files Browse the repository at this point in the history
  • Loading branch information
niliayu committed Oct 25, 2024
1 parent b7eadac commit 69b0479
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/scripts/dev
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ run_pyright() {
pyright lib
}

run_checks() {
lint_fix
run_mypy
run_pyright
}

fmt() {
source venv/bin/activate
ruff format
Expand Down Expand Up @@ -118,6 +124,9 @@ case "$1" in
pyright)
run_pyright
;;
check)
run_checks
;;
test)
run_tests
;;
Expand Down

0 comments on commit 69b0479

Please sign in to comment.