Refactor scores, stats and channels repos to build queries with sqlalchemy core 1.4 #599
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: Lint | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.py" | |
pull_request: | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Install poetry | |
run: python -m pip install --upgrade poetry wheel | |
# TODO: add caching of Poetry.lock | |
- name: Install dependencies | |
run: poetry install --no-root --with dev | |
- name: Run mypy | |
run: poetry run mypy . |