Skip to content

[dev] bump to version 0.7.6 (#26) #148

[dev] bump to version 0.7.6 (#26)

[dev] bump to version 0.7.6 (#26) #148

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pre-commit hook
run: |
pwd&&ls
python -m pip install -U pre-commit
pre-commit --version
- name: pre-commit checking
run: pre-commit run -s HEAD^ -o HEAD
run-pyright:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-node@v4
with:
node-version: lts/Jod
- name: pyright type check
run: |
python -m pip install -U pyright
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
python -m pip install matplotlib
python -m pip install -e .
pyright mppq