Skip to content

Commit

Permalink
Split flake8, isort and mypy on three separate steps on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin committed Nov 25, 2023
1 parent 6d6ed81 commit 0af5f85
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,17 @@ jobs:
- name: Install the workflow call library
run: |
python3 -m pip install .[docs,lint,tests]
- name: Run flake8 and mypy checks
- name: Run flake8
run: |
python3 -m flake8 .
python3 -m mypy .
python3 -m nbqa flake8 .
- name: Run isort
run: |
python3 -m isort --check --diff .
python3 -m nbqa isort --check --diff .
- name: Run mypy
run: |
python3 -m mypy .
python3 -m nbqa mypy .
- name: Run documentation generation
run: |
Expand Down

0 comments on commit 0af5f85

Please sign in to comment.