Merge pull request #209 from openzim/py313 #24
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: QA | |
on: [push] | |
env: | |
LIBZIM_DL_VERSION: "9.2.3-2" | |
MACOSX_DEPLOYMENT_TARGET: "13.0" | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
# to update to 3.13 once it lands in GH image | |
python-version: "3.12" | |
architecture: x64 | |
- name: Install dependencies (and project) | |
run: | | |
pip install -U pip | |
pip install -e .[lint,scripts,test,check] | |
- name: Check black formatting | |
run: inv lint-black | |
- name: Check ruff | |
run: inv lint-ruff | |
- name: Check pyright | |
run: inv check-pyright |