Skip to content

Commit

Permalink
🔧 Add mypy linting step to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 committed Feb 7, 2024
1 parent 0fc34ea commit 046ca21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
- uses: pre-commit/[email protected]
with:
extra_args: --all-files --verbose
- name: Run mypy
run: bash scripts/lint.sh

tests:

Expand Down
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e
set -x

mypy --show-error-codes fastapi_class tests
mypy --show-error-codes fastapi_class

0 comments on commit 046ca21

Please sign in to comment.