Skip to content

Backports for v0.16.0 (#3235) #6808

Backports for v0.16.0 (#3235)

Backports for v0.16.0 (#3235) #6808

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