Backports for v0.16.0 (#3235) #6808
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: 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 |