Skip to content

Update ruff requirement from <0.7.0,>=0.6.1 to >=0.6.1,<0.9.0 #662

Update ruff requirement from <0.7.0,>=0.6.1 to >=0.6.1,<0.9.0

Update ruff requirement from <0.7.0,>=0.6.1 to >=0.6.1,<0.9.0 #662

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]