Skip to content

Update pre-commit requirement from <4,>=3.8 to >=3.8,<5 (#195) #659

Update pre-commit requirement from <4,>=3.8 to >=3.8,<5 (#195)

Update pre-commit requirement from <4,>=3.8 to >=3.8,<5 (#195) #659

Workflow file for this run

name: Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev]"
python -m pip install ".[onnxruntime]"
- name: Run pre-commit hooks
uses: pre-commit/[email protected]