Update sphinx-autodoc-typehints requirement from <2.3,>=1.24 to >=1.24,<2.4 #27
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: Format | |
on: | |
pull_request: | |
branches: ['main'] | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install isort 'black[jupyter]' pylint ruff pylint qbraid-cli | |
- name: Check isort, ruff, headers | |
run: | | |
ruff check qbraid_algorithms examples tests tools | |
isort --check-only qbraid_algorithms tests tools | |
black --check qbraid_algorithms tests tools examples --line-length 100 | |
pylint qbraid_algorithms tests tools examples --disable=W0108,W0511,W0401,R0902,E0401 --ignore=qbraid_algorithms/_version.py | |
qbraid admin headers qbraid_algorithms tests tools --type gpl |