Skip to content

Commit

Permalink
feat(ci): add linters, type checker to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Iamhexi committed Sep 18, 2024
1 parent 26334ed commit 098dc60
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,22 @@ jobs:
key: venv-${{ hashFiles('poetry.lock') }}

- name: Install the project dependencies
run: poetry install
run: poetry install --all-extras

- name: Run type checker
run: mypy

- name: Run ruff linter
run: |
ruff check .
- name: Run pylint linter
run: |
pylint .
- name: Check tyes with mypy
run: |
mypy --follow-imports=skip --check-untyped-defs .
- name: Run the automated test
run: poetry run pytest -v

0 comments on commit 098dc60

Please sign in to comment.