Merge pull request #831 from ChildMindInstitute/m-3987-hotfix-datalos… #2985
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 ./ |