Skip to content

Commit

Permalink
GitHub actions with mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
debpal committed Sep 10, 2024
1 parent 19bc0fd commit e7c8928
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ jobs:
- name: Lint with flake8
run: |
# Run flake8 for code linting
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Type check with mypy
run: |
mypy BharatFinTrack
- name: Test with pytest
run: |
export PYTHONPATH=$(pwd)
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pytest
pytest-cov
flake8
mypy



Expand Down

0 comments on commit e7c8928

Please sign in to comment.