test: add docstrings mypy check #1
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: Check docstrings | |
on: [push, pull_request] | |
jobs: | |
check_docstrings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: install-reqs | |
run: uv pip install mypy -r requirements-dev.txt | |
- name: Run docstring check | |
run: python utils/check_docstrings.py |