m2-4093: fix ordering v2 #2992
Workflow file for this run
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 code quality | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Install pipenv | |
run: python -m pip install --upgrade pip && pip install pipenv | |
- name: Install deps | |
run: pipenv sync --system --dev | |
- name: Run linter | |
run: flake8 . | |
- name: Check formatting | |
run: black --check . && isort --check . | |
- name: Check types | |
run: mypy ./ |