Skip to content

Drop Python 3.8 from workflows, run on 3.11 (#3228) #6790

Drop Python 3.8 from workflows, run on 3.11 (#3228)

Drop Python 3.8 from workflows, run on 3.11 (#3228) #6790

name: Style and type checks
on: [push, pull_request]
jobs:
style-type-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: extractions/setup-just@v1
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install .
# todo: install also `black[jupyter]`
pip install click "black==24.02" "mypy==1.8.0" \
types-python-dateutil types-waitress types-PyYAML
- name: Style check
run: just black
- name: Type check
run: just mypy
- name: Check license headers
run: just license