Update for MO2 2.5. #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Linting | |
on: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- uses: abatilo/actions-poetry@v2 | |
- name: Install | |
run: | | |
poetry install | |
- name: Lint | |
run: | | |
poetry run black src --check --diff | |
poetry run isort -c src | |
poetry run mypy src | |
poetry run ruff src | |
poetry run pyright src |